paster setup-app support

5 views
Skip to first unread message

Mathieu Leduc-Hamel

unread,
Jun 28, 2010, 10:37:37 AM6/28/10
to 2degrees FLOSS
Hello guys !


I just start since one week to use twod.wsgi with different django
projects on which i'm working on. It's very cool i'll like to include
it in our default workflow at work. I'm just curious about something.

In the past, i was using djangorecipe for all our deployment and there
is one thing missing that cannot work without, it's syncdb thing and
all the south commands.

Is there any easy way to transplant the syncdb, migrate,
schememigrations things directly in paster or right now it's not
something faisable ?

I tried to use the setup-app command of paster but i'm not sure how to
deal with it and django ?

Regards

mathieu leduc-hamel
lesite.ca

Gustavo Narea

unread,
Jun 28, 2010, 11:01:25 AM6/28/10
to 2degree...@googlegroups.com, marr...@gmail.com
Hello, Mathieu.

I'm glad to hear you like twod.wsgi :)

On 28/06/10 15:37, Mathieu Leduc-Hamel wrote:
> In the past, i was using djangorecipe for all our deployment and there
> is one thing missing that cannot work without, it's syncdb thing and
> all the south commands.
>
> Is there any easy way to transplant the syncdb, migrate,
> schememigrations things directly in paster or right now it's not
> something faisable ?
>
> I tried to use the setup-app command of paster but i'm not sure how to
> deal with it and django ?
>

We haven't implemented Paste Script commands to make it work like that,
but to make `manage *' commands work again, you need to load the
settings at the top of the `manage' script:
http://tinyurl.com/twod-wsgi-manage-working-again

And here's an example with Buildout:
http://tinyurl.com/twod-wsgi-manage-buildout

HTH. :)

--
Gustavo Narea.
Software Developer.
2degrees, Ltd. <http://dev.2degreesnetwork.com/>.

Mathieu Leduc-Hamel

unread,
Jun 28, 2010, 11:03:50 AM6/28/10
to Gustavo Narea, 2degrees-floss
Ok than for now i will keep the djangorecipe solution for these kind of command, but i think i'll check for that if it can help me, it can help you :)
Reply all
Reply to author
Forward
0 new messages