mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Return instance
This commit is contained in:
parent
04e1b17b58
commit
68eabb6c0e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Snippet(models.Model):
|
|||
self.published = datetime.datetime.now()
|
||||
self.secret_id = generate_secret_id()
|
||||
self.content_highlighted = pygmentize(self.content, self.lexer)
|
||||
super(Snippet, self).save(*args, **kwargs)
|
||||
return super(Snippet, self).save(*args, **kwargs)
|
||||
|
||||
@permalink
|
||||
def get_absolute_url(self):
|
||||
|
|
Loading…
Reference in a new issue