stuff on adminpage
This commit is contained in:
@@ -55,8 +55,8 @@ class BlogpostForm(ModelForm):
|
||||
|
||||
class MandantsForm(forms.Form):
|
||||
mandants = forms.MultipleChoiceField(
|
||||
label= "Posten in",
|
||||
widget=forms.CheckboxSelectMultiple({'checked':'checked'})
|
||||
label= "Posten in ",
|
||||
widget=forms.CheckboxSelectMultiple({'checked':'checked'})
|
||||
)
|
||||
|
||||
class UserForm(forms.ModelForm):
|
||||
@@ -69,3 +69,7 @@ class UserProfileForm(forms.ModelForm):
|
||||
model = UserProfile
|
||||
fields = ['avatar']
|
||||
|
||||
"""
|
||||
class LeagueImportForm(forms.Form):
|
||||
leagues =
|
||||
"""
|
||||
|
||||
@@ -142,7 +142,7 @@ def profile(request, pk):
|
||||
return render(request, 'registration/profile.html', {
|
||||
'user_form': user_form,
|
||||
'profile_form': profile_form,
|
||||
'debug': debug,
|
||||
#'debug': debug,
|
||||
'img': img}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user