Re: Creating initial Security/Auth objects with syncdb

2010-12-22 Thread Nick Serra
Could just put the group in the initial data for sync db. Look up django fixtures. It will load data into the database from a json feed on syncdb. On Dec 21, 1:50 pm, "Mark (Nosrednakram)" wrote: > Hello, > > I would like to install an auth_group with my application and

Creating initial Security/Auth objects with syncdb

2010-12-21 Thread Mark (Nosrednakram)
Hello, I would like to install an auth_group with my application and am considering using the following code in app/management/__init__.py. Is this an acceptable solution? Is there a better way to do this? Thanks, Mark from django.db.models import signals try: from