chore: Update Navbar component with search form
This commit is contained in:
@@ -65,4 +65,4 @@ class Collection(models.Model):
|
|||||||
raise ValidationError('Public collections cannot be associated with private adventures. Collection: ' + self.name + ' Adventure: ' + adventure.name)
|
raise ValidationError('Public collections cannot be associated with private adventures. Collection: ' + self.name + ' Adventure: ' + adventure.name)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ MIDDLEWARE = (
|
|||||||
# For backwards compatibility for Django 1.8
|
# For backwards compatibility for Django 1.8
|
||||||
MIDDLEWARE_CLASSES = MIDDLEWARE
|
MIDDLEWARE_CLASSES = MIDDLEWARE
|
||||||
|
|
||||||
ROOT_URLCONF = 'demo.urls'
|
ROOT_URLCONF = 'main.urls'
|
||||||
|
|
||||||
# WSGI_APPLICATION = 'demo.wsgi.application'
|
# WSGI_APPLICATION = 'demo.wsgi.application'
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "demo.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "main.settings")
|
||||||
|
|
||||||
from django.core.management import execute_from_command_line
|
from django.core.management import execute_from_command_line
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user