From 2cf6f6b88b01628f5400019887b64b405e38791d Mon Sep 17 00:00:00 2001 From: bnewbold Date: Mon, 30 Nov 2009 01:00:56 -0500 Subject: fixed manual import and added admin for git_wiki --- bn_django/git_wiki/admin.py | 7 +++++++ bn_django/photos/manual_import.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 bn_django/git_wiki/admin.py (limited to 'bn_django') diff --git a/bn_django/git_wiki/admin.py b/bn_django/git_wiki/admin.py new file mode 100644 index 0000000..76839f7 --- /dev/null +++ b/bn_django/git_wiki/admin.py @@ -0,0 +1,7 @@ +from bn_django.git_wiki.models import Tree, Item, Commit +from django.contrib import admin + +admin.site.register(Tree) +admin.site.register(Item) +admin.site.register(Commit) + diff --git a/bn_django/photos/manual_import.py b/bn_django/photos/manual_import.py index f5ea5af..8311445 100644 --- a/bn_django/photos/manual_import.py +++ b/bn_django/photos/manual_import.py @@ -17,7 +17,7 @@ except ImportError: from StringIO import StringIO # Handling settings here -STOCKPHOTO_BASE = '/home/bnewbold/bnewnet/media/photos' +STOCKPHOTO_BASE = 'photos' # models from bn_django.photos.models import Gallery, Photo -- cgit v1.2.3