Changed donations.html table style, Added pagination to donations list view. Hiding donate now button if the user is logged in and already has a donation.Handled the case when an user has not donations yet in donations.html view. Fixed bug on donation signup
This commit is contained in:
parent
c370863c56
commit
5fce858923
8 changed files with 34 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ class LoginForm(forms.Form):
|
|||
def login(self,request):
|
||||
username = self.cleaned_data.get('email')
|
||||
password = self.cleaned_data.get('password')
|
||||
user = authenticate(email=username,password=password)
|
||||
user = authenticate(email=username, password=password)
|
||||
return user
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue