Permalink
Browse files

sitemenu support

  • Loading branch information...
1 parent aafb007 commit cef3568503d0cba9e06ee9ce3b5ff653c99001c0 Marcin Nowak committed Jul 6, 2009
Showing with 37 additions and 0 deletions.
  1. +20 −0 .project
  2. +10 −0 .pydevproject
  3. +7 −0 src/netwizard/photogallery/__init__.py
View
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>netwizard-photogallery</name>
+ <comment></comment>
+ <projects>
+ <project>netwizard-imageprocess</project>
+ <project>netwizard-platform</project>
+ <project>netwizard-widgets</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.python.pydev.PyDevBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.python.pydev.pythonNature</nature>
+ </natures>
+</projectDescription>
View
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?>
+
+<pydev_project>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.6</pydev_property>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Python 2.6</pydev_property>
+<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
+<path>/netwizard-photogallery/src</path>
+</pydev_pathproperty>
+</pydev_project>
@@ -1 +1,8 @@
import plugins
+
+try:
+ from netwizard.antyadmin import sitemenu
+ from django.conf import settings
+ sitemenu.connect('apps', 'Photo gallery', settings.ADMIN_URL+'photogallery', pri=5, name='apps.photogallery')
+except ImportError:
+ pass

0 comments on commit cef3568

Please sign in to comment.