Great. Thanks. I got fixed and it led me to a ton of other errors but I'm working my way through them. Thanks again.
On Mar 9, 10:54 pm, Chris Moffitt <[email protected]> wrote: > Try adding this to the top of your settings.py file (after import os) > DIRNAME = os.path.dirname(__file__) > > The problem is that you failed to define the DIRNAME variable. > > -Chris > > On Mon, Mar 9, 2009 at 7:33 PM, sleepjunkie <[email protected]> wrote: > > > Hello. I'm trying to install Satchmo for the first time. I've been > > following the installation guide by finally ran into a problem. When I > > run 'python manage.py satchmo_copy_static' in my directory I get this > > error: > > > Traceback (most recent call last): > > File "manage.py", line 4, in <module> > > import settings # Assumed to be in the same directory. > > File "/home/usr/src/everydisc/settings.py", line 39, in <module> > > MEDIA_ROOT = os.path.join(DIRNAME, 'static/') > > NameError: name 'DIRNAME' is not defined > > > I looked through the other sample settings files but I can't figure > > out what to put in place of DIRNAME. > > > Here is my settings.py file:http://rafb.net/p/TQM0D763.html > > > Thanks for reading, > > Matt > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
