fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move API models to api app.
[wolnelektury.git]
/
src
/
wolnelektury
/
settings
/
contrib.py
diff --git
a/src/wolnelektury/settings/contrib.py
b/src/wolnelektury/settings/contrib.py
index
a25ef72
..
2fed2f3
100644
(file)
--- a/
src/wolnelektury/settings/contrib.py
+++ b/
src/wolnelektury/settings/contrib.py
@@
-15,7
+15,6
@@
MODELTRANSLATION_PREPOPULATE_LANGUAGE = 'pl'
MIGRATION_MODULES = {
'getpaid': 'wolnelektury.migrations.getpaid',
MIGRATION_MODULES = {
'getpaid': 'wolnelektury.migrations.getpaid',
- 'piston': 'wolnelektury.migrations.piston',
}
GETPAID_ORDER_DESCRIPTION = "{% load funding_tags %}{{ order|sanitize_payment_title }}"
}
GETPAID_ORDER_DESCRIPTION = "{% load funding_tags %}{{ order|sanitize_payment_title }}"
@@
-45,6
+44,10
@@
MIGDAL_TYPES = (
EntryType('event', _('events'), commentable=False),
)
EntryType('event', _('events'), commentable=False),
)
+MIGDAL_OPTIONAL_LANGUAGES = (
+ ('en', u'English'),
+)
+
REST_FRAMEWORK = {
"DEFAULT_RENDERER_CLASSES": (
'rest_framework.renderers.JSONRenderer',
REST_FRAMEWORK = {
"DEFAULT_RENDERER_CLASSES": (
'rest_framework.renderers.JSONRenderer',