aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-11-30 01:00:56 -0500
committerbnewbold <bnewbold@ziggy.(none)>2009-11-30 01:00:56 -0500
commit2cf6f6b88b01628f5400019887b64b405e38791d (patch)
treea19f90c499cdcdfb5d7fdbbec49f310c3392a9c8
parent5a21a8e9ce7a6e86433929118beab4fc650efc01 (diff)
downloadbnewnet-2cf6f6b88b01628f5400019887b64b405e38791d.tar.gz
bnewnet-2cf6f6b88b01628f5400019887b64b405e38791d.zip
fixed manual import and added admin for git_wiki
-rw-r--r--bn_django/git_wiki/admin.py7
-rw-r--r--bn_django/photos/manual_import.py2
2 files changed, 8 insertions, 1 deletions
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