Sfoglia il codice sorgente

Remove admin which was a temporary fix

tags/v1.0.0
Isaac Bythewood 11 anni fa
parent
commit
e467a83683
3 ha cambiato i file con 0 aggiunte e 16 eliminazioni
  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 Vedi 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 Vedi 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 Vedi 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')),


Caricamento…
Annulla
Salva