Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error helpers.py line 342 #2

Closed
dimkoug opened this issue Oct 25, 2017 · 6 comments
Closed

error helpers.py line 342 #2

dimkoug opened this issue Oct 25, 2017 · 6 comments
Assignees
Labels

Comments

@dimkoug
Copy link

dimkoug commented Oct 25, 2017

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

@JostCrow
Copy link
Collaborator

JostCrow commented Nov 2, 2017

Can you please provide some extra information? Maybee a little bit of the error log or the settings that are used?

@dimkoug
Copy link
Author

dimkoug commented Nov 2, 2017

i created a virtualenv with python3 and i installed django when i run the example project the error i posted show. i didn't set up extra settings only the default

@JostCrow
Copy link
Collaborator

JostCrow commented Nov 2, 2017

What I did was

virtualenv --python python3 env3
source ./env3/bin/activate
pip install django
pip install django-ordered-model
python manage.py check
python manage.py runserver

For me this worked.
python==3.6.3
django==1.11.7
django-ordered-models==1.4.3
django-admin-index==0.10.0 (current master not released yet)
ubuntu==17.10

Can you also list all the versions that I listed + os?

@dimkoug
Copy link
Author

dimkoug commented Nov 2, 2017

os : ubuntu 16.04
python 3.5.2 default python3 for ubuntu 16.04
packages :
Django==1.11.7
django-ordered-model==1.4.3
pytz==2017.3

same error occured

@JostCrow JostCrow self-assigned this Nov 2, 2017
@JostCrow JostCrow added the bug label Nov 2, 2017
@dimkoug
Copy link
Author

dimkoug commented Nov 2, 2017

File "/home/dimitris/django-admin-tabs/example_project/example_admintabs_project/example_app/admin.py", line 6, in
from admin_tabs.helpers import TabbedModelAdmin, TabbedPageConfig, Config
File "/home/dimitris/django-admin-tabs/example_project/admin_tabs/helpers.py", line 306, in
class TabbedModelAdmin(ModelAdmin):
File "/home/dimitris/django-admin-tabs/example_project/admin_tabs/helpers.py", line 342, in TabbedModelAdmin

@JostCrow
Copy link
Collaborator

JostCrow commented Nov 2, 2017

I also tried it on the os and with the versions you listed and it all seems to work.

It looks like you have the wrong package. If I am looking at your path it says django-admin-tabs and this is django-admin-index. Maybe that could be the problem.

here is a link to django admin tabs. https://github.com/liberation/django-admin-tabs
Maybe you can list the error there.

If not feel free to reopen this issue.

@JostCrow JostCrow closed this as completed Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants