mirror of https://github.com/zulip/zulip.git
Remove inactive Django admin code
These can only cause trouble. (imported from commit 1def3234675c12461e9fc8b71c6b9e1b107edd1d)
This commit is contained in:
parent
ba08d06cb8
commit
5ed13e9079
|
@ -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.messages',
|
||||
'jstemplate',
|
||||
# Uncomment the next line to enable the admin:
|
||||
# 'django.contrib.admin',
|
||||
# Uncomment the next line to enable admin documentation:
|
||||
# 'django.contrib.admindocs',
|
||||
'confirmation',
|
||||
'zephyr',
|
||||
)
|
||||
|
|
|
@ -2,10 +2,6 @@ from django.conf import settings
|
|||
from django.conf.urls import patterns, url
|
||||
import os.path
|
||||
|
||||
# Uncomment the next two lines to enable the admin:
|
||||
# from django.contrib import admin
|
||||
# admin.autodiscover()
|
||||
|
||||
urlpatterns = patterns('',
|
||||
url(r'^$', 'zephyr.views.home', name='home'),
|
||||
# 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
|
||||
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'),
|
||||
|
||||
# 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:
|
||||
|
|
Loading…
Reference in New Issue