Try putting your urlpatterns first. I.E. rom domain.store.urls import urlpatterns as storepatterns
urlpatterns = patterns(...) urlpatterns += storepatterns On Tue, Oct 27, 2009 at 7:08 PM, neridaj <[email protected]> wrote: > > Hello, > > I have some additional simple urls I would like to add to the satchmo > urls but it's not working. In my settings.py file I have my > ROOT_URLCONF = 'domain.urls'. > > domain.urls.py: > > from django.conf.urls.defaults import * > from domain.store.urls import urlpatterns > > from django.contrib import admin > admin.autodiscover() > > urlpatterns += patterns('django.views.generic.simple', > (r'^$', 'direct_to_template', {'template': 'index.html'}), > (r'^studio/', 'direct_to_template', {'template': 'studio.html'}), > (r'^services/', 'direct_to_template', {'template': > 'services.html'}), > (r'^portfolio/', 'direct_to_template', {'template': > 'portfolio.html'}), > (r'^admin/doc/', include('django.contrib.admindocs.urls')), > (r'^admin/', include(admin.site.urls)), > ) > > domain.store.urls.py: > > from django.conf.urls.defaults import * > from satchmo_store.urls import urlpatterns > > > -- Bruce Kroeze http://www.ecomsmith.com It's time to hammer your site into shape. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en -~----------~----~----~----~------~----~------~--~---
