projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5b9fa
)
Properly purge pugs list from cache when objects are edited
author
Magnus Hagander
<magnus@hagander.net>
Wed, 8 May 2013 20:10:51 +0000
(22:10 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Wed, 8 May 2013 20:10:51 +0000
(22:10 +0200)
pgweb/pugs/models.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/pugs/models.py
b/pgweb/pugs/models.py
index 0f7aaeac6d4524928501805bce4ce4805643331d..69783d34dcf7e393c241d4d3ab2b128a5c2a9b87 100644
(file)
--- a/
pgweb/pugs/models.py
+++ b/
pgweb/pugs/models.py
@@
-13,5
+13,7
@@
class PUG(PgModel, models.Model):
website_url = models.TextField(null=True, blank=True)
mailing_list_url = models.TextField(null=True, blank=True)
+ purge_urls = ('/community/user-groups/', )
+
def __unicode__(self):
return self.title