mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Merge branch 'master' into pro
* master: Showing db error on Profile table Adding paypal dependencies for new premium archive and premium pro.
This commit is contained in:
commit
feff99c504
1 changed files with 2 additions and 2 deletions
|
@ -150,8 +150,8 @@ class Profile(models.Model):
|
|||
self.secret_token = generate_secret_token(self.user.username, 12)
|
||||
try:
|
||||
super(Profile, self).save(*args, **kwargs)
|
||||
except DatabaseError:
|
||||
print(" ---> Profile not saved. Table isn't there yet.")
|
||||
except DatabaseError as e:
|
||||
print(f" ---> Profile not saved: {e}")
|
||||
|
||||
def delete_user(self, confirm=False, fast=False):
|
||||
if not confirm:
|
||||
|
|
Loading…
Add table
Reference in a new issue