Dear Django Users,

I want to add users to a particular group based on the domain of their
email address. I set up some code in models.py to do this and it seems
to work. But, when I go to test the code things don't work out so
smoothly. I think in the test environment the objects I try to create
in models.py may not be inserted in the test database. Any ideas for
good work arounds?

https://github.com/mvpdev/nmis/blob/feature%2Fdj13/user_management/models.py#L29
https://github.com/mvpdev/nmis/blob/feature%2Fdj13/user_management/tests.py#L35

Andrew

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to