Commit e7fb47dc authored by Alec Wang's avatar Alec Wang

fixed heroes/urls.py

parent 21bd859f
from django.conf.urls import url from django.conf.urls import url
from .views import HomeView, TaskListView, TaskCreateView from .views import *
urlpatterns = [ urlpatterns = [
url(r'^$', HomeView.as_view(), name='home'), url(r'^$',
url(r'^tasks$', TaskListView.as_view(), name='task-list'), ]
url(r'^tasks/new$', TaskCreateView.as_view(), name='task_create')
]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment