diff options
Diffstat (limited to 'web/collagen')
-rw-r--r-- | web/collagen/__init__.py | 0 | ||||
-rw-r--r-- | web/collagen/admin.py | 14 | ||||
l--------- | web/collagen/models.py | 1 | ||||
-rw-r--r-- | web/collagen/urls.py | 6 | ||||
-rw-r--r-- | web/collagen/views.py | 8 |
5 files changed, 0 insertions, 29 deletions
diff --git a/web/collagen/__init__.py b/web/collagen/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/web/collagen/__init__.py +++ /dev/null diff --git a/web/collagen/admin.py b/web/collagen/admin.py deleted file mode 100644 index a45bedb..0000000 --- a/web/collagen/admin.py +++ /dev/null @@ -1,14 +0,0 @@ -from web.collagen.models import * -from django.contrib import admin - -admin.site.register(Package) -admin.site.register(PackageVersion) -admin.site.register(PackageCategory) -admin.site.register(PortageProfile) -admin.site.register(Tinderbox) -admin.site.register(PackageProperties) -admin.site.register(Attachment) -admin.site.register(Useflag) -admin.site.register(File) -admin.site.register(FileType) -admin.site.register(PackageProperties_File) diff --git a/web/collagen/models.py b/web/collagen/models.py deleted file mode 120000 index 92e8020..0000000 --- a/web/collagen/models.py +++ /dev/null @@ -1 +0,0 @@ -../../src/matchbox/db/main/models.py
\ No newline at end of file diff --git a/web/collagen/urls.py b/web/collagen/urls.py deleted file mode 100644 index 5ac48ed..0000000 --- a/web/collagen/urls.py +++ /dev/null @@ -1,6 +0,0 @@ -from django.conf.urls.defaults import * - - -urlpatterns = patterns('web.collagen.views', - (r'^$', 'index'), -) diff --git a/web/collagen/views.py b/web/collagen/views.py deleted file mode 100644 index 9c231bd..0000000 --- a/web/collagen/views.py +++ /dev/null @@ -1,8 +0,0 @@ -# Create your views here. - -from django.shortcuts import render_to_response -from web.collagen.models import Package - -def index(request): - last_pkgs = Package.objects.all().order_by('-id')[:5] - return render_to_response('index.html', {'latest_packages': last_pkgs}) |