Comments (8)
Looks like migrations weren't run. A couple of people have reported this, its just that they didn't run migrations.
from aldryn-newsblog.
I've done migrate. But now it returns on both (clean and updated) installations:
No migrations to apply.
Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
I didn't change anything manually. After makemigrations I've got those migrations:
Migrations for 'filer':
0002_auto_20150422_0048.py:
- Alter field polymorphic_ctype on file
Migrations for 'aldryn_categories':
0004_auto_20150422_0048.py:
- Change Meta options on categorytranslation
- Alter field language_code on categorytranslation
Migrations for 'aldryn_people':
0003_auto_20150422_0048.py:
- Change Meta options on grouptranslation
- Change Meta options on persontranslation
- Alter field language_code on grouptranslation
- Alter field people on peopleplugin
- Alter field language_code on persontranslation
from aldryn-newsblog.
Oh! Looks like we don't have 1.7 migrations. =( Will fix soon.
from aldryn-newsblog.
Yep, supporting both South and Django migrations is a pain.
from aldryn-newsblog.
@shadow-identity Please try 0.9.3. This should have the migration you need. =)
from aldryn-newsblog.
@mkoistinen nope, it is still here...
./manage.py makemigrations --dry-run -v3
Migrations for 'djangocms_link':
0003_auto_20150424_1651.py:
- Alter field mailto on link
Full migrations file '0003_auto_20150424_1651.py':
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('djangocms_link', '0002_auto_20140929_1705'),
]
operations = [
migrations.AlterField(
model_name='link',
name='mailto',
field=models.EmailField(help_text='An email address has priority over a text link.', max_length=75, null=True, verbose_name='email address', blank=True),
preserve_default=True,
),
]
Migrations for 'filer':
0002_auto_20150424_1651.py:
- Alter field polymorphic_ctype on file
Full migrations file '0002_auto_20150424_1651.py':
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('filer', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='file',
name='polymorphic_ctype',
field=models.ForeignKey(related_name='polymorphic_filer.file_set+', editable=False, to='contenttypes.ContentType', null=True),
preserve_default=True,
),
]
Migrations for 'aldryn_newsblog':
0004_auto_20150424_1651.py:
- Alter field template_prefix on newsblogconfig
Full migrations file '0004_auto_20150424_1651.py':
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('aldryn_newsblog', '0003_auto_20150422_1921'),
]
operations = [
migrations.AlterField(
model_name='newsblogconfig',
name='template_prefix',
field=models.CharField(max_length=20, null=True, verbose_name='Prefix for template dirs', blank=True),
preserve_default=True,
),
]
Migrations for 'aldryn_categories':
0004_auto_20150424_1651.py:
- Change Meta options on categorytranslation
- Alter field language_code on categorytranslation
Full migrations file '0004_auto_20150424_1651.py':
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('aldryn_categories', '0003_auto_20150128_1359'),
]
operations = [
migrations.AlterModelOptions(
name='categorytranslation',
options={'default_permissions': (), 'verbose_name': 'category Translation', 'managed': True},
),
migrations.AlterField(
model_name='categorytranslation',
name='language_code',
field=models.CharField(max_length=15, verbose_name='Language', db_index=True),
preserve_default=True,
),
]
Migrations for 'aldryn_people':
0003_auto_20150424_1651.py:
- Change Meta options on grouptranslation
- Change Meta options on persontranslation
- Alter field language_code on grouptranslation
- Alter field people on peopleplugin
- Alter field language_code on persontranslation
Full migrations file '0003_auto_20150424_1651.py':
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import aldryn_common.admin_fields.sortedm2m
class Migration(migrations.Migration):
dependencies = [
('aldryn_people', '0002_auto_20150128_1411'),
]
operations = [
migrations.AlterModelOptions(
name='grouptranslation',
options={'default_permissions': (), 'verbose_name': 'Group Translation', 'managed': True},
),
migrations.AlterModelOptions(
name='persontranslation',
options={'default_permissions': (), 'verbose_name': 'Person Translation', 'managed': True},
),
migrations.AlterField(
model_name='grouptranslation',
name='language_code',
field=models.CharField(max_length=15, verbose_name='Language', db_index=True),
preserve_default=True,
),
migrations.AlterField(
model_name='peopleplugin',
name='people',
field=aldryn_common.admin_fields.sortedm2m.SortedM2MModelField(help_text=None, to='aldryn_people.Person', null=True, blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='persontranslation',
name='language_code',
field=models.CharField(max_length=15, verbose_name='Language', db_index=True),
preserve_default=True,
),
]
And boilerplates issue is still here. Can you accept aldryn-boilerplates#7?
Without it boilerplates fails:
"GET /static/cms/js/modules/cms.structureboard.js HTTP/1.1" 500 59
Traceback (most recent call last):
File "/usr/lib64/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 65, in __call__
return super(StaticFilesHandler, self).__call__(environ, start_response)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 187, in __call__
response = self.get_response(request)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 55, in get_response
return self.serve(request)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 48, in serve
return serve(request, self.file_path(request.path), insecure=True)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/views.py", line 33, in serve
absolute_path = finders.find(normalized_path)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 248, in find
for finder in get_finders():
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 263, in get_finders
yield get_finder(finder_path)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/utils/lru_cache.py", line 101, in wrapper
result = user_function(*args, **kwds)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 272, in get_finder
Finder = import_string(import_path)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_string
module = import_module(module_path)
File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/home/nedr/progs/env/cms/lib/python2.7/site-packages/aldryn_boilerplates/staticfile_finders.py", line 14, in <module>
class BoilerplateAppStaticStorage(django.contrib.staticfiles.storage.AppStaticStorage):
AttributeError: 'module' object has no attribute 'AppStaticStorage'
from aldryn-newsblog.
Can you try 0.9.4?
from aldryn-newsblog.
I've updated installation to aldryn-boilerplates-0.7 aldryn-common-0.1.3 aldryn-newsblog-0.9.4 aldryn-people-0.5.2 django-taggit-0.14.0 lxml-3.4.4
Now all works fine, thanks!
from aldryn-newsblog.
Related Issues (20)
- Blog post list by author page title
- Create button on toolbar does not contain "Article" option HOT 2
- Missing breadcrumb for newly created post
- Bootstrap 4 boilerplate templates HOT 4
- django taggit dropped support for django <1.11 which is causing installation issues HOT 2
- Search data won`t be updated for specific plugins without context
- Adding NewsBlog apphook to page breaks login: 405 error HOT 2
- Is this repo maintained? HOT 6
- djangocms-link 2.2.1 breaks NewsBlog HOT 2
- Update translation files from Transifex HOT 1
- System check reported issues HOT 1
- Ignore me...
- 'NoneType' object has no attribute 'get_config' for page with added Newsblog menu
- FieldError: Invalid field name(s) for model Person: 'name'. HOT 1
- Author field for Add Article form uses integer values instead of friendly usernames
- 'CMSToolbar' object has no attribute 'edit_mode' HOT 5
- Untranslated articles shouldn’t show on Latest Articles plugin when hide_untranslated is set
- How to override aldryn-newsblog plugin's models.py and admin.py
- Exclude atricles from Navigation menu
- Latest master release? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aldryn-newsblog.