Re: Syncing two django applications via cURL

2008-11-15 Thread Kurczak
Also, is there some way to make this action "transaction like" ? To be sure that every action was synchronised? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Syncing two django applications via cURL

2008-11-13 Thread Kurczak
On 13 Lis, 19:23, Ryan Nowakowski <[EMAIL PROTECTED]> wrote: > You could create a view that accepts a post that includes the following: >   * admin username (for auth) >   * admin password (for auth) >   * username >   * user password >   * other attrs... > > Then from your admin hooks, you can do

Re: Syncing two django applications via cURL

2008-11-13 Thread Kurczak
On 13 Lis, 19:17, "Dj Gilcrease" <[EMAIL PROTECTED]> wrote: > Is there a profound reason you are not using the same DB for all the > sites, and just using django.contrib.sites to keep the content > separated between them? Yes, client's request. --~--~-~--~~~---~--~--

Re: Syncing two django applications via cURL

2008-11-13 Thread Ryan Nowakowski
You could create a view that accepts a post that includes the following: * admin username (for auth) * admin password (for auth) * username * user password * other attrs... Then from your admin hooks, you can do an http post to the other sites using httplib[1] keeping stuff in sync. 1.

Re: Syncing two django applications via cURL

2008-11-13 Thread Dj Gilcrease
Is there a profound reason you are not using the same DB for all the sites, and just using django.contrib.sites to keep the content separated between them? Dj Gilcrease OpenRPG Developer ~~http://www.openrpg.com --~--~-~--~~~---~--~~ You received this message beca