| |
@@ -9,7 +9,8 @@
|
| |
# For clean_pyc to work without complaining
|
| |
BASE_DIR = PROJECT_DIR
|
| |
|
| |
- DEBUG = False
|
| |
+ # DEBUG = False
|
| |
+ DEBUG = True
|
| |
|
| |
ADMINS = (
|
| |
('Anna Philips', 'algogator@fedoraproject.org'),
|
| |
@@ -69,8 +70,22 @@
|
| |
'django.middleware.common.CommonMiddleware',
|
| |
'django.middleware.csrf.CsrfViewMiddleware',
|
| |
'django.contrib.messages.middleware.MessageMiddleware',
|
| |
+ 'debug_toolbar.panels.versions.VersionsPanel' , 'debug_toolbar.panels.timer.TimerPanel' ,
|
| |
+ 'debug_toolbar.panels.settings.SettingsPanel' , 'debug_toolbar.panels.headers.HeadersPanel' ,
|
| |
+ 'debug_toolbar.panels.request.RequestPanel' , 'debug_toolbar.panels.sql.SQLPanel' ,
|
| |
+ 'debug_toolbar.panels.staticfiles.StaticFilesPanel' , 'debug_toolbar.panels.templates.TemplatesPanel' ,
|
| |
+ 'debug_toolbar.panels.cache.CachePanel' , 'debug_toolbar.panels.signals.SignalsPanel' ,
|
| |
+ 'debug_toolbar.panels.logging.LoggingPanel' , 'debug_toolbar.panels.redirects.RedirectsPanel'
|
| |
]
|
| |
|
| |
+
|
| |
+ """
|
| |
+ function to get the django debug toolbar
|
| |
+ """
|
| |
+ def show_toolbar(request):
|
| |
+ return True
|
| |
+
|
| |
+ DEBUG_TOOLBAR_CONFIG={'INTERCEPT_REDIRECT': False , 'SHOW_TOOLBAR_CALLBACK': show_toolbar , }
|
| |
ROOT_URLCONF = 'happinesspackets.urls'
|
| |
|
| |
# Python dotted path to the WSGI application used by Django's runserver.
|
| |
Removed one of the duplicate of send me happiness buttons. this change would prettify the user interface giving the user the needed experience to use the webapp. While the two had urls, one of them was lacking logic behind which the url can return the request needed hence the removal.
@jonatoni kindly review it. am still working on other issues related to the emails being not sent. Kindly if you have questions about this PR. You can contact me through my email feisalibrahim19@gmail.com