~pidgeon690/pidge-registration/trunk

« back to all changes in this revision

Viewing changes to registration/forms.py

  • Committer: Fergus Ross Ferrier
  • Date: 2009-05-29 04:46:11 UTC
  • Revision ID: hello@fergusrossferrier.co.uk-20090529044611-bv9n5w5m331zmqb2
Make app in pidge namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
from django.utils.translation import ugettext_lazy as _
11
11
from django.utils.datastructures import SortedDict
12
12
 
13
 
from registration.models import RegistrationProfile
 
13
from models import RegistrationProfile
14
14
 
15
15
 
16
16
# I put this on all required fields, because it's easier to pick up
247
247
                user_data['password']
248
248
            )
249
249
            # Must send signal
250
 
            from registration.signals import user_registered, user_activated
 
250
            from signals import user_registered, user_activated
251
251
            user_registered.send(sender=None, user=new_user)
252
252
            user_activated.send(sender=None, user=new_user)
253
253