Hi,

>From Django Book:
"syncdb command is a simple sync of your models to your database.
It looks at all of the models in each app in your INSTALLED_APPS
setting".

But you can uses --settings option for manage.py.

./manage.py syncdb --settings=mysettings

where mysettings.py contains only your application in INSTALLED_APPS
---
INSTALLED_APPS = ( 'myproject.myapps' )
---

Regards,
Marcin


On Nov 6, 12:54 pm, AngelCaido <[EMAIL PROTECTED]> wrote:
> I don't know if this was asked before, but I can't seem to find an
> answer
> I want to syncDB for a specific application in my site.
> Something like when you do
>
> python manage.py sql MyApplication
>
> and it only generates the SQL for that application.
> Can I do something like:
>
> python manage.py syncdb MyApplication
>
> Thanks...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

  • syncDB AngelCaido
    • Re: syncDB Marcin Mierzejewski

Reply via email to