Did you change your settings.py file to use the new urls file?

ROOT_URLCONF = 'mystore.urls'

On Wed, Aug 12, 2009 at 3:03 AM, nttdocomo <[email protected]> wrote:

>
> my file structure is:
>
> mystore(project)
>  --site(apps)
>    --urls.py
>  --urls.py
>
> in the mystore/urls.py, I writed:
>
> from django.conf.urls.defaults import *
> urlpatterns = patterns('',
>    (r'^', include('mystore.site.urls')),
> )
>
> and in the mystore/site/urls.py, i writed:
>
> from django.conf.urls.defaults import *
> urlpatterns = patterns('mystore.site.views',
>    # Example:
>    (r'^$','index.home', {}, 'satchmo_shop_home'),
>
>    # 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:
> )
>
> from satchmo_store.urls import urlpatterns
>
> but it still use the satchmo_store urls
> >
>


-- 
Bruce Kroeze
http://solidsitesolutions.com
Dynamic Designs, Optimized

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to