Hi,
   Am trying to run sqlflush command on windows OS. Below is what i
tried

      C:\>Python26\Scripts\django-admin.py sqlflush
       Error: Settings cannot be imported, because environment
variable DJANGO_SETTINGS_MODULE is undefined.

    My site is in folder c:\src\mysite is my project site
     I have set python environment to c:\src\mysite ;
     I set DJANGO_SETTINGS_MODULE =  mysite.settings


    C:\>Python26\Scripts\django-admin.py sqlflush  --
settings=SETTINGS
     I get a message sqlflush has not option –settings

Can some one  help me to sort out this problem

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