aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-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