Ajustements, fix

This commit is contained in:
Martin Pépin 2016-09-24 18:44:35 +02:00
parent d89493856f
commit 05e48386a1
2 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,7 @@ def registration_form2(request, login_clipper=None, username=None):
registration_set_ro_fields(user_form, profile_form)
# events & clubs
event_formset = EventFormset(events=events, prefix='events')
clubs_form = ClubsForm(initial={'clubs': member.clubs.all()})
clubs_form = ClubsForm()
if username:
member = get_object_or_404(User, username=username)
(profile, _) = CofProfile.objects.get_or_create(user=member)

View file

@ -2,7 +2,7 @@ configparser==3.5.0
Django==1.8
django-autocomplete-light==2.3.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-recaptcha==1.0.5
mysqlclient==1.3.7