Browse Source

Remove admin which was a temporary fix

tags/v1.0.0
Isaac Bythewood 11 years ago
parent
commit
e467a83683
3 changed files with 0 additions and 16 deletions
  1. +0
    -10
      pinry/core/admin.py
  2. +0
    -1
      pinry/settings/__init__.py
  3. +0
    -5
      pinry/urls.py

+ 0
- 10
pinry/core/admin.py View File

@@ -1,10 +0,0 @@
from django.contrib import admin

from pinry.pins.models import Pin


class PinAdmin(admin.ModelAdmin):
list_display = ['published', 'description']


admin.site.register(Pin, PinAdmin)

+ 0
- 1
pinry/settings/__init__.py View File

@@ -71,7 +71,6 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'south',
'compressor',
'taggit',


+ 0
- 5
pinry/urls.py View File

@@ -1,14 +1,9 @@
from django.conf.urls import patterns, include, url
from django.conf.urls.static import static
from django.conf import settings
from django.contrib import admin


admin.autodiscover()


urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^api/', include('pinry.api.urls', namespace='api')),
url(r'^pins/', include('pinry.pins.urls', namespace='pins')),
url(r'', include('pinry.core.urls', namespace='core')),


Loading…
Cancel
Save