Ajustements, fix
This commit is contained in:
parent
d89493856f
commit
05e48386a1
|
@ -346,7 +346,7 @@ def registration_form2(request, login_clipper=None, username=None):
|
||||||
registration_set_ro_fields(user_form, profile_form)
|
registration_set_ro_fields(user_form, profile_form)
|
||||||
# events & clubs
|
# events & clubs
|
||||||
event_formset = EventFormset(events=events, prefix='events')
|
event_formset = EventFormset(events=events, prefix='events')
|
||||||
clubs_form = ClubsForm(initial={'clubs': member.clubs.all()})
|
clubs_form = ClubsForm()
|
||||||
if username:
|
if username:
|
||||||
member = get_object_or_404(User, username=username)
|
member = get_object_or_404(User, username=username)
|
||||||
(profile, _) = CofProfile.objects.get_or_create(user=member)
|
(profile, _) = CofProfile.objects.get_or_create(user=member)
|
||||||
|
|
|
@ -2,7 +2,7 @@ configparser==3.5.0
|
||||||
Django==1.8
|
Django==1.8
|
||||||
django-autocomplete-light==2.3.3
|
django-autocomplete-light==2.3.3
|
||||||
django-autoslug==1.9.3
|
django-autoslug==1.9.3
|
||||||
django-cas-ng==3.5.4
|
git+https://github.com/xapantu/django-cas-ng.git#egg=django-cas-ng
|
||||||
django-grappelli==2.8.1
|
django-grappelli==2.8.1
|
||||||
django-recaptcha==1.0.5
|
django-recaptcha==1.0.5
|
||||||
mysqlclient==1.3.7
|
mysqlclient==1.3.7
|
||||||
|
|
Loading…
Reference in a new issue