mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Remove inactive Django admin code
These can only cause trouble. (imported from commit 1def3234675c12461e9fc8b71c6b9e1b107edd1d)
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
# Copyright: (c) 2008, Jarek Zgoda <jarek.zgoda@gmail.com>
|
|
||||||
|
|
||||||
__revision__ = '$Id: admin.py 3 2008-11-18 07:33:52Z jarek.zgoda $'
|
|
||||||
|
|
||||||
|
|
||||||
from django.contrib import admin
|
|
||||||
|
|
||||||
from confirmation.models import Confirmation
|
|
||||||
|
|
||||||
|
|
||||||
admin.site.register(Confirmation)
|
|
||||||
@@ -143,10 +143,6 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'jstemplate',
|
'jstemplate',
|
||||||
# Uncomment the next line to enable the admin:
|
|
||||||
# 'django.contrib.admin',
|
|
||||||
# Uncomment the next line to enable admin documentation:
|
|
||||||
# 'django.contrib.admindocs',
|
|
||||||
'confirmation',
|
'confirmation',
|
||||||
'zephyr',
|
'zephyr',
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -2,10 +2,6 @@ from django.conf import settings
|
|||||||
from django.conf.urls import patterns, url
|
from django.conf.urls import patterns, url
|
||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
# Uncomment the next two lines to enable the admin:
|
|
||||||
# from django.contrib import admin
|
|
||||||
# admin.autodiscover()
|
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
url(r'^$', 'zephyr.views.home', name='home'),
|
url(r'^$', 'zephyr.views.home', name='home'),
|
||||||
# We have two entries for accounts/login to allow reverses on the Django
|
# We have two entries for accounts/login to allow reverses on the Django
|
||||||
@@ -49,12 +45,6 @@ urlpatterns = patterns('',
|
|||||||
# Used internally for communication between Django and Tornado processes
|
# Used internally for communication between Django and Tornado processes
|
||||||
url(r'^notify_new_message$', 'zephyr.views.notify_new_message', name='notify_new_message'),
|
url(r'^notify_new_message$', 'zephyr.views.notify_new_message', name='notify_new_message'),
|
||||||
url(r'^notify_pointer_update$', 'zephyr.views.notify_pointer_update', name='notify_pointer_update'),
|
url(r'^notify_pointer_update$', 'zephyr.views.notify_pointer_update', name='notify_pointer_update'),
|
||||||
|
|
||||||
# Uncomment the admin/doc line below to enable admin documentation:
|
|
||||||
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
||||||
|
|
||||||
# Uncomment the next line to enable the admin:
|
|
||||||
# url(r'^admin/', include(admin.site.urls)),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if settings.ALLOW_REGISTER:
|
if settings.ALLOW_REGISTER:
|
||||||
|
|||||||
Reference in New Issue
Block a user