I'm trying to run a satchmo store as an app of a django project
I create a django project myprj (django-admin.py startproject myprj)

I create a satchmo store (clonesatchmo.py)
I copied settings.py and local_settings.py from myprj/store
I modify myprj/urls to have shop in the /store subfolder of site

code---------------------------------------------------------
from django.conf.urls.defaults import *
import store.urls
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('', (r'^store/', include(store.urls)),)
---------------------------------------------------------------
Going to http://127.0.0.1:8000/store/ the shop starts but it does not find the css and all the static stuff

output----------------------------------------------------
[15/Mar/2012 11:08:29] "GET /static/css/style.css HTTP/1.1" 404 1999
[15/Mar/2012 11:08:29] "GET /static/images/productimage-picture-dj-rocks-2_jpg_85x85_q85.jpg HTTP/1.1" 404 2128
-----------------------------------------------------------
So i try to copy the static dir from myprj/store/static to myprj/static but nothing change, the files are there but it does not find them.

There are some wrong link too

output----------------------------------------------------
[15/Mar/2012 11:22:42] "GET /accounts/login/?next=/store/ HTTP/1.1" 404 1997
-----------------------------------------------------------
like it does not care of the "store" prefix

Do I miss something? I think some prefix to put somewhere........

Thank to all

kooliah

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to