No module named 'urls.py'

I am new to the environment of django and I am trying to create an url link; however, the error reads

ImportError: No module named 'myprofile' 

Therefore I am stuck here asking the question of how to fix this problem. I have looked over several forum; however, I couldn't come across the solution to this particular problem. Thank You for helping.

from django.conf.urls import url from django.conf.urls import include from . import views  urlpatterns = [     url(r'^$', views.index),     url(r'^myprofile$',include("myprofile.urls"), name = myprofile) ] 

Replay

Category: django Time: 2016-07-31 Views: 3
Tags: django

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.236 (s). 12 q(s)