I seemed to have resolved my issue by creating the following symlink Being in my root folder, Considering my settings.py as I mentioned in my earlier email, I created a symlink sudo ln -s /usr/local/lib/python2.6/dist-packages/django/contrib/admin/ media media
And, I could see my styled Admin control panel. Thanks ++ On Apr 15, 11:51 am, gg <[email protected]> wrote: > Hi all > > I completed my first satchmo-shop successfully with the help of tips/ > comments from such an amazing and wonderful community. Thank you guys. > Thumbs up to all Satchmo team/developers..(Chris!) > > I don't know if anyone have encountered such a problem... > > The only issue that I am facing now is that I am able to view my admin > without css/javascript. Followings are the my settings.py > > MEDIA_ROOT = os.path.join(DIRNAME, 'static/') > MEDIA_URL = "/static/" # ORIGINAL > > #following 2 STATIC_ROOT and STATIC_URL has been added here. > STATIC_ROOT = os.path.join(DIRNAME, 'media/') # required settings for > django-staticfiles, data will be placed here by running command > $python manage.py collectstatic > STATIC_URL = "/media/" > > # URL prefix for admin media -- CSS, JavaScript and images. Make sure > to use a trailing slash. > ADMIN_MEDIA_PREFIX = STATIC_URL + "admin/" > > The above url that I setup for ADMIN_MEDIA_PREFIX works fine in my dev > machine where I can see my admin with proper css/javascript etc, but > this do not work in my hosted server. > > A quick help from anyone would be greatly appreciable. > Many many thanks in advance. > ++ -- 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.
