After much googling, I created a new app called "core" and put the connect() in the __init__.py. That seems to be working. The problem with the "put it in models.py" solution is that it isn't really related to any of my existing apps. Previously I tried putting it in the project __init__.py, but that works inconsistently, apparently because django isn't fully initialized when the project __init__.py is loaded.
On Tue, May 17, 2011 at 11:07 AM, Brian Craft <[email protected]> wrote: > Is there a good way to add new users to a default group when they are > created (e.g. via django-registration)? I just tried binding the > post_save signal for User, and adding the group in the signal handler > (if "created" is true). However, I haven't found a good place (file) > to put the connect() call, so the signal will be caught: i.e. some > file that will consistently be loaded before a User is created. > > I'm currently thinking I will override the django-registration > activate url, and add the code there, before calling > registration.views.activate. Obviously this isn't the most general > solution. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

