Hello,
I'm trying to add satchmo to an existing project and I'm not sure how
to correctly merge urls. I can't get the satchmo urls correctly
included in the django search:
from django.conf.urls.defaults import *
from satchmo_store.urls import urlpatterns
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('dzopastudio',
(r'^$', 'views.index'),
(r'^studio/', 'views.studio'),
(r'^services/', 'views.services'),
(r'^portfolio/', 'views.portfolio'),
(r'^order/', 'views.order'),
(r'^blog/', 'views.blog'),
(r'^contact/', 'views.contact'),
# (r'^login/', 'views.login'),
(r'^accounts/', include('dzopastudio.registration.urls')),
(r'^profiles/', include('dzopastudio.profiles.urls')),
(r'^listings/', include('dzopastudio.listings.urls')),
# Uncomment the admin/doc line below and add
'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
urlpatterns += patterns('',
(r'test/', include('simple.localsite.urls'))
)
Thanks for any help,
Jason
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---