forked from pycontw/pycon.tw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pycontw-2023): add pycontw-2023
- Loading branch information
Tim Tsai
committed
Jan 5, 2023
1 parent
2970d1f
commit 3c15129
Showing
241 changed files
with
18,666 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import os | ||
from django.utils.translation import gettext_lazy as _ | ||
from .base import BASE_DIR, STATICFILES_DIRS, TEMPLATES | ||
from .base import * # noqa | ||
|
||
# Override static and media URL for prefix in WSGI server. | ||
# https://code.djangoproject.com/ticket/25598 | ||
STATIC_URL = '/prs/static/' | ||
MEDIA_URL = '/prs/media/' | ||
|
||
CONFERENCE_DEFAULT_SLUG = 'pycontw-2023' | ||
|
||
TALK_PROPOSAL_DURATION_CHOICES = ( | ||
('NOPREF', _('No preference')), | ||
('PREF15', _('Prefer 15min')), | ||
('PREF30', _('Prefer 30min')), | ||
('PREF45', _('Prefer 45min')), | ||
) | ||
|
||
TEMPLATES[0]['DIRS'][1] = os.path.join( | ||
BASE_DIR, 'templates', CONFERENCE_DEFAULT_SLUG, | ||
) | ||
STATICFILES_DIRS[1] = os.path.join( | ||
BASE_DIR, 'static', CONFERENCE_DEFAULT_SLUG, '_includes', | ||
) | ||
|
||
FRONTEND_HOST = 'https://tw.pycon.org/2023' |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import os | ||
|
||
from django.utils.translation import gettext_lazy as _ | ||
from .base import BASE_DIR, STATICFILES_DIRS, TEMPLATES | ||
from .base import * # noqa | ||
|
||
|
||
CONFERENCE_DEFAULT_SLUG = 'pycontw-2023' | ||
|
||
TALK_PROPOSAL_DURATION_CHOICES = ( | ||
('NOPREF', _('No preference')), | ||
('PREF15', _('Prefer 15min')), | ||
('PREF30', _('Prefer 30min')), | ||
('PREF45', _('Prefer 45min')), | ||
) | ||
|
||
TEMPLATES[0]['DIRS'][1] = os.path.join(BASE_DIR, 'templates', 'pycontw-2023') | ||
STATICFILES_DIRS[1] = os.path.join( | ||
BASE_DIR, 'static', CONFERENCE_DEFAULT_SLUG, '_includes', | ||
) | ||
|
||
EVENTS_PUBLISHED = False |
Oops, something went wrong.