Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

docs/installation process updates #177

Closed
shadow-identity opened this issue Apr 15, 2015 · 3 comments
Closed

docs/installation process updates #177

shadow-identity opened this issue Apr 15, 2015 · 3 comments

Comments

@shadow-identity
Copy link

In the docs (README.rst) we have:

Run migrations: python manage.py migrate aldryn_newsblog.

NOTE: aldryn_newsblog supports both South and Django 1.7 migrations. If using Django 1.7, you may need to add the following to your settings:

MIGRATION_MODULES = [
   …
   'aldryn_newsblog': 'aldryn_newsblog.south_migrations',
   # The following are for some of the depenencies.
   'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django',
   'filer': 'filer.migrations_django',
   …
]

It should be something like this:

MIGRATION_MODULES = {
   …
   # The following are for some of the dependencies.
   'djangocms_text_ckeditor': 'djangocms_text_ckeditor.migrations_django',
   'filer': 'filer.migrations_django',
   …
}
  • {} instead of []
  • aldryn_newsblog in 'dev' branch uses django migrations by default;
  • dependencies typo fix

checked with Django 1.7.7, django-cms 3.1.0rc1, newsblog 0.8.4

@shadow-identity
Copy link
Author

also 'sortedm2m', should be added to INSTALLED_APPS

@shadow-identity
Copy link
Author

filer also should be set up, at least

THUMBNAIL_PROCESSORS = (
    'easy_thumbnails.processors.colorspace',
    'easy_thumbnails.processors.autocrop',
    #'easy_thumbnails.processors.scale_and_crop',
    'filer.thumbnail_processors.scale_and_crop_with_subject_location',
    'easy_thumbnails.processors.filters',
)

@shadow-identity
Copy link
Author

sorry @mkoistinen I've forgot about that: python manage.py migrate aldryn_newsblog
I think it is prefer to do just python manage.py migrate because there is other apps with migrations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants