Added Atom feeds for snippets.
This commit is contained in:
parent
eac73e3dd4
commit
749e9ce7ac
4 changed files with 37 additions and 6 deletions
|
|
@ -76,12 +76,6 @@ class WebsiteOpenIDStore(OpenIDStore):
|
|||
OpenIDAssociation.lifetime < int(time())
|
||||
).delete()
|
||||
|
||||
def getAuthKey(self):
|
||||
return sha1(config.SECRET_KEY).hexdigest()[:self.AUTH_KEY_LEN]
|
||||
|
||||
def isDump(self):
|
||||
return False
|
||||
|
||||
|
||||
def redirect_back():
|
||||
return redirect(request.values.get('next') or url_for('general.index'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue