Skip to content

Commit

Permalink
url fixes for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dakrauth committed Nov 18, 2024
1 parent 8e27a6b commit 6774c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/karate/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from django.conf.urls import url, include
from django.urls import re_path as url, include
from django.views.generic import TemplateView

from karate import views
Expand Down
2 changes: 2 additions & 0 deletions demo/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
os.path.abspath('..'), # relative location of swingtime app
])

DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
DEBUG = True
DATABASES = {'default': {
'ENGINE': 'django.db.backends.sqlite3',
Expand All @@ -40,6 +41,7 @@
),
'context_processors': (
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'swingtime.context_processors.current_datetime',
Expand Down

0 comments on commit 6774c5e

Please sign in to comment.