-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1008 from ae-utbm/feed
Add atom/rss news feed
- Loading branch information
Showing
7 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,12 @@ def handle(self, *args, **options): | |
raise Exception("Never call this command in prod. Never.") | ||
|
||
Sith.objects.create(weekmail_destinations="[email protected] [email protected]") | ||
Site.objects.create(domain=settings.SITH_URL, name=settings.SITH_NAME) | ||
|
||
site = Site.objects.get_current() | ||
site.domain = settings.SITH_URL | ||
site.name = settings.SITH_NAME | ||
site.save() | ||
|
||
groups = self._create_groups() | ||
self._create_ban_groups() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
msgid "" | ||
msgstr "" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2025-01-10 14:52+0100\n" | ||
"POT-Creation-Date: 2025-01-19 18:12+0100\n" | ||
"PO-Revision-Date: 2016-07-18\n" | ||
"Last-Translator: Maréchal <[email protected]\n" | ||
"Language-Team: AE info <[email protected]>\n" | ||
|
@@ -1447,7 +1447,7 @@ msgid "News admin" | |
msgstr "Administration des nouvelles" | ||
|
||
#: com/templates/com/news_admin_list.jinja com/templates/com/news_detail.jinja | ||
#: com/templates/com/news_list.jinja | ||
#: com/templates/com/news_list.jinja com/views.py | ||
msgid "News" | ||
msgstr "Nouvelles" | ||
|
||
|
@@ -1525,6 +1525,10 @@ msgstr "Éditer (sera soumise de nouveau à la modération)" | |
msgid "Edit news" | ||
msgstr "Éditer la nouvelle" | ||
|
||
#: com/templates/com/news_list.jinja | ||
msgid "News feed" | ||
msgstr "Flux d'actualités" | ||
|
||
#: com/templates/com/news_list.jinja | ||
msgid "Events today and the next few days" | ||
msgstr "Événements aujourd'hui et dans les prochains jours" | ||
|
@@ -1767,6 +1771,10 @@ msgstr "Message d'alerte" | |
msgid "Screens list" | ||
msgstr "Liste d'écrans" | ||
|
||
#: com/views.py | ||
msgid "All incoming events" | ||
msgstr "Tous les événements à venir" | ||
|
||
#: com/views.py | ||
msgid "Delete and save to regenerate" | ||
msgstr "Supprimer et sauver pour régénérer" | ||
|