Commit 06cde68f authored by Okhin's avatar Okhin

Fixing the ManagerSite thing

parent a6eba535
......@@ -39,3 +39,5 @@, OperatorAdmin)
class ManagerSite(AdminSite):
site_header = 'Manager Site'
manager_site = ManagerSite(name='manager')
......@@ -6,7 +6,7 @@ from django.contrib import admin
from bt import views as bt
from bt.feeds import RssSiteNewsFeed, AtomSiteNewsFeed
from bt.api import APIResource, OperatorResource
from bt.admin import ManagerSite
from bt.admin import manager_site
api_resource = APIResource()
operator_api_resource = OperatorResource()
......@@ -87,7 +87,7 @@ urlpatterns = patterns('',
url(r'^i18n/', include('django.conf.urls.i18n')),
# Manager admin site
url('r^manager/', ManagerSite.urls),
url(r'^manager/', manager_site.urls),
if settings.DEV_SERVER == True:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment