fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adjust img width
[wolnelektury.git]
/
src
/
infopages
/
models.py
diff --git
a/src/infopages/models.py
b/src/infopages/models.py
index
cf9e9bf
..
c9c31e7
100644
(file)
--- a/
src/infopages/models.py
+++ b/
src/infopages/models.py
@@
-5,6
+5,7
@@
from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.db import models
from django.utils.translation import ugettext_lazy as _
+
class InfoPage(models.Model):
"""An InfoPage is used to display a two-column flatpage."""
class InfoPage(models.Model):
"""An InfoPage is used to display a two-column flatpage."""
@@
-24,4
+25,4
@@
class InfoPage(models.Model):
@models.permalink
def get_absolute_url(self):
@models.permalink
def get_absolute_url(self):
- return
('infopage', [self.slug])
+ return
'infopage', [self.slug]