from contents.models import Menu, Index
from ema.views import get_entry_by_slug
+from django.contrib import admin
+admin.autodiscover()
+
+
MEDIA = {'document_root': settings.INSTANCE('media')}
# the only difference between info_dict and info_dict_full is that the
}
urlpatterns = patterns('',
- (r'^admin/', include('django.contrib.admin.urls')),
+ (r'^admin/(.*)', admin.site.root),
url(regex='^$',
view='django.views.generic.list_detail.object_list',