Just enough infrastructure to get tests to pass as standalone app

This commit is contained in:
Scot Hacker 2018-03-29 23:05:49 -07:00
parent d3d8d5e46c
commit ff49d5cba2
9 changed files with 307 additions and 5 deletions

15
base_urls.py Normal file
View file

@ -0,0 +1,15 @@
from django.urls import include, path
"""
This urlconf exists so we can run tests without an actual Django project
(Django expects ROOT_URLCONF to exist.) This helps the tests remain isolated.
For your project, ignore this file and add
`path('lists/', include('todo.urls')),`
to your site's urlconf.
"""
urlpatterns = [
path('lists/', include('todo.urls')),
]