question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'module' object has no attribute 'revision'

See original GitHub issue

I try to install the Django CMS 3.2 from Aldryn (https://github.com/aldryn/aldryn-django-cms), but when I launch the development web server, I have the error bellow :

AttributeError: 'module' object has no attribute 'revision

I also try to reproduce this error outside the CMS addons ecosystem, so I execute this command :

(Python-2.7.10)[root@localhost Desktop]# python -c ‘import reversion; print reversion.revisions.version

The error is look like the same :

Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'revisions' (Python-2.7.10)[root@localhost Desktop]# python -c 'import reversion; print reversion.revisions.__version__'

I’m using Python 2.7.10, Django 1.8.7, Django CMS 3.2, PostgreSQL 9.2

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
etianencommented, Dec 4, 2015

Please read the changelog for the latest release. It’ll tell you how to fix your code.

https://github.com/etianen/django-reversion/blob/master/CHANGELOG.md On Fri, 4 Dec 2015 at 10:23, JimyRyan notifications@github.com wrote:

I have try using Django 1.8.7 and django-revision 1.9.3 : that did not change anything for me 😦

— Reply to this email directly or view it on GitHub https://github.com/etianen/django-reversion/issues/469#issuecomment-161930784 .

0reactions
gmocquetcommented, Dec 4, 2015

Thanks for your fast response ! My trouble is now solved 😃

Have an nice night.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'module' object has no attribute '_registered_models' django ...
I am getting error like this "revision_manager._registered_models[model_key] = registration_info AttributeError: 'module' object has no ...
Read more >
Bug #1657238 “AttributeError: 'module' object has no attribute ...
AttributeError : 'module' object has no attribute 'install_lazy_compile'. Bug #1657238 reported by Stefan Husmann on 2017-01-17.
Read more >
AttributeError: 'module' object has no attribute 'utcnow'
I would have sworn @scfc created a bug for this already, but I can't find it :/ ... AttributeError: 'module' object has no...
Read more >
'module' object has no attribute 'ensure_text' - Bugzilla@Mozilla
I just tried building (with Python 2.7), and got: ... 0:00.82 AttributeError: 'module' object has no attribute 'ensure_text' 0:00.82 ...
Read more >
AttributeError: 'module' object has no attribute '_handlerList'
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found