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) ]