Patrick Guido Arminio avatar Patrick Guido Arminio committed cdf363b

Sistemati path

Comments (0)

Files changed (3)

projectmensa/menu/templatetags/menu_tags.py

 
 from django import template
 
-from menu.models import *
+from ..models import *
 
 register = template.Library()
 

projectmensa/menu/urls.py

 
 from .feeds import LatestMenusFeed
 
-urlpatterns = patterns('menu.views',
+urlpatterns = patterns('projectmensa.menu.views',
     url(r'^$', 'home'),
 
     url(r'(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/', 'menu_of_the_day'),

projectmensa/settings.py

 
 TEST_RUNNER = 'projectmensa.utils.AdvancedTestSuiteRunner'
 TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_SETTINGS.TEMPLATE_CONTEXT_PROCESSORS + (
-    'utils.context_processors.debug_processor',
+    'projectmensa.utils.context_processors.debug_processor',
     'django.core.context_processors.request',
-    'menu.context_processors.forms',
+    'projectmensa.menu.context_processors.forms',
 )
 
 EMAIL_BACKEND = 'django_ses.SESBackend'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.