0

I have all of my files in a folder on digitalocean, but I am currently getting stuck with a "No module named urls" Here is what my urls.py and views.py look like:

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

views.py

from django.shortcuts import render

def index(request):
     return render(request, 'webapp/home.html')

html

pretty sure the only line that is wrong in it is

<form class="form-signin" method="post" action="{% url 'Displayquest' %}">
vasek
  • 2,759
  • 1
  • 26
  • 30

0 Answers0