| |
@@ -4,11 +4,17 @@
|
| |
from django.conf import settings
|
| |
from django.conf.urls import include, url
|
| |
from django.contrib import admin
|
| |
+ from django.conf.urls.static import static
|
| |
|
| |
urlpatterns = [
|
| |
url(r'^oidc/', include('mozilla_django_oidc.urls')),
|
| |
url(r'^', include('happinesspackets.messaging.urls', namespace="messaging")),
|
| |
]
|
| |
+ if settings.DEBUG:
|
| |
+ import debug_toolbar
|
| |
+ urlpatterns += [
|
| |
+ url(r'^__debug__/', include(debug_toolbar.urls)),
|
| |
+ ]
|
| |
|
| |
if settings.ADMIN_ENABLED or settings.DEBUG:
|
| |
urlpatterns.append(url(r'^drunken-octo-lama/', include(admin.site.urls)))
|
| |
update the readme file to include how to create virtual environment and how to install requirement for your specific setting you wanna use and how to set settings.
This changes will be good for newcomers as it was a challenge to me when it comes to set up my development environment