Przemyslaw,

 PW> I'm just trying to do is using django.contrib.auth framework.

 PW> What I'd need is the possibility to create initial set of groups, users
 PW> and user-group assignements, when 'syncdb' is performed.

 PW> One option I see is to add custom statements to one of SQL files used to
 PW> initialize my application's model. Yet it's a bit ugly, isn't it ?

Create this data in console or in the script and then use 
   manage.py dumpdata
to save then in json format.   Use 
   manage.py loaddata 
as you need

-- 
Andrey V Khavryuchenko            
Django NewGate -  http://www.kds.com.ua/djiggit/
Development - http://www.kds.com.ua 
Call akhavr1975 on www.gizmoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to