fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
django 1.2, compatibility fixes
[wolnelektury.git]
/
scripts
/
setmainpage.py
diff --git
a/scripts/setmainpage.py
b/scripts/setmainpage.py
index
245ed1d
..
3244243
100755
(executable)
--- a/
scripts/setmainpage.py
+++ b/
scripts/setmainpage.py
@@
-1,5
+1,8
@@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python
# -*- coding: utf-8 -*-
+# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+#
from django.core.management import setup_environ
from wolnelektury import settings
import sys
from django.core.management import setup_environ
from wolnelektury import settings
import sys
@@
-28,7
+31,7
@@
for tag in Tag.objects.all():
tag.main_page = True
else:
tag.main_page = False
tag.main_page = True
else:
tag.main_page = False
-
+
tag.save()
sys.stderr.write('.')
tag.save()
sys.stderr.write('.')