Merge lp:~dholbach/ubucon-site/fix-migration-paths into lp:ubucon-site

Proposed by Daniel Holbach
Status: Merged
Merged at revision: 41
Proposed branch: lp:~dholbach/ubucon-site/fix-migration-paths
Merge into: lp:ubucon-site
Diff against target: 97 lines (+36/-20)
2 files modified
ubucon_site/migrations/0002_auto_20160425_1408.py (+19/-0)
ubucon_site/settings/__init__.py (+17/-20)
To merge this branch: bzr merge lp:~dholbach/ubucon-site/fix-migration-paths
Reviewer Review Type Date Requested Status
UbuCon site developers Pending
Review via email: mp+292805@code.launchpad.net
To post a comment you must log in.
42. By Daniel Holbach

move TEMPLATE_DEBUG and TEMPLATE_LOADERS to new template fields

43. By Daniel Holbach

remove APP_DIRS, clashes with template loaders

44. By Daniel Holbach

add auto migration

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'ubucon_site/migrations/0002_auto_20160425_1408.py'
--- ubucon_site/migrations/0002_auto_20160425_1408.py 1970-01-01 00:00:00 +0000
+++ ubucon_site/migrations/0002_auto_20160425_1408.py 2016-04-25 14:11:01 +0000
@@ -0,0 +1,19 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('ubucon_site', '0001_initial'),
11 ]
12
13 operations = [
14 migrations.AlterField(
15 model_name='rawhtml',
16 name='cmsplugin_ptr',
17 field=models.OneToOneField(parent_link=True, related_name='ubucon_site_rawhtml', primary_key=True, serialize=False, to='cms.CMSPlugin'),
18 ),
19 ]
020
=== modified file 'ubucon_site/settings/__init__.py'
--- ubucon_site/settings/__init__.py 2016-03-30 08:21:27 +0000
+++ ubucon_site/settings/__init__.py 2016-04-25 14:11:01 +0000
@@ -28,7 +28,6 @@
28# SECURITY WARNING: don't run with debug turned on in production!28# SECURITY WARNING: don't run with debug turned on in production!
29DEBUG = True29DEBUG = True
3030
31TEMPLATE_DEBUG = True
3231
33ALLOWED_HOSTS = []32ALLOWED_HOSTS = []
3433
@@ -86,7 +85,6 @@
86 'DIRS': [85 'DIRS': [
87 os.path.join(BASE_DIR, 'templates'),86 os.path.join(BASE_DIR, 'templates'),
88 ],87 ],
89 'APP_DIRS': True,
90 'OPTIONS': {88 'OPTIONS': {
91 'context_processors': [89 'context_processors': [
92 'django.template.context_processors.request',90 'django.template.context_processors.request',
@@ -104,19 +102,18 @@
104 # For Aldryn102 # For Aldryn
105 'aldryn_boilerplates.context_processors.boilerplate',103 'aldryn_boilerplates.context_processors.boilerplate',
106 ],104 ],
105 'loaders': [
106 'django.template.loaders.filesystem.Loader',
107 'aldryn_boilerplates.template_loaders.AppDirectoriesLoader',
108 'django.template.loaders.app_directories.Loader',
109 'django.template.loaders.eggs.Loader',
110 ],
111 'debug': True,
107 },112 },
108 },113 },
109]114]
110115
111116
112TEMPLATE_LOADERS = (
113 'django.template.loaders.filesystem.Loader',
114 'aldryn_boilerplates.template_loaders.AppDirectoriesLoader',
115 'django.template.loaders.app_directories.Loader',
116 'django.template.loaders.eggs.Loader'
117)
118
119
120MIDDLEWARE_CLASSES = (117MIDDLEWARE_CLASSES = (
121 'django.contrib.sessions.middleware.SessionMiddleware',118 'django.contrib.sessions.middleware.SessionMiddleware',
122 'django.middleware.csrf.CsrfViewMiddleware',119 'django.middleware.csrf.CsrfViewMiddleware',
@@ -241,16 +238,16 @@
241#}238#}
242239
243MIGRATION_MODULES = {240MIGRATION_MODULES = {
244 'djangocms_column': 'djangocms_column.migrations_django',241 'djangocms_column': 'djangocms_column.migrations',
245 'djangocms_flash': 'djangocms_flash.migrations_django',242 'djangocms_flash': 'djangocms_flash.migrations',
246 'djangocms_googlemap': 'djangocms_googlemap.migrations_django',243 'djangocms_googlemap': 'djangocms_googlemap.migrations',
247 'djangocms_inherit': 'djangocms_inherit.migrations_django',244 'djangocms_inherit': 'djangocms_inherit.migrations',
248 'djangocms_link': 'djangocms_link.migrations_django',245 'djangocms_link': 'djangocms_link.migrations',
249 'djangocms_style': 'djangocms_style.migrations_django',246 'djangocms_style': 'djangocms_style.migrations',
250 'djangocms_file': 'djangocms_file.migrations_django',247 'djangocms_file': 'djangocms_file.migrations',
251 'djangocms_picture': 'djangocms_picture.migrations_django',248 'djangocms_picture': 'djangocms_picture.migrations',
252 'djangocms_teaser': 'djangocms_teaser.migrations_django',249 'djangocms_teaser': 'djangocms_teaser.migrations',
253 'djangocms_video': 'djangocms_video.migrations_django'250 'djangocms_video': 'djangocms_video.migrations',
254}251}
255252
256AUTHENTICATION_BACKENDS = (253AUTHENTICATION_BACKENDS = (

Subscribers

People subscribed via source and target branches