On 2/19/07, kbochert <[EMAIL PROTECTED]> wrote: > > Is there a was to install the contrib.admin app without the > contrib.auth app??
No; the two are pretty closely intertwined. > While learning, I am eraseing the database and doing manage.py syncdb > a lot, and it would be real nice to have it come up without having to > enter username email etc. each time. There are a few ways around this. Right now, you can define a signal handler that listens for a post_syncdb signal, and adds a user to your application whenever you sync the database. If you want to see an example of how this works, look at the test_client modeltest, which is part of the Django test suite. However, before v1.0 is released you will have a better option. You will be able to define a synchronization fixture - that is, you will be able to define a data file that contains the default contents of your database. The patch to do this are currently attached to ticket #2333 - feel free to try it out if you want to see what will be possible in the near future. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---