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

Django 1.10 support. 'AppCommand' has no attribute 'option_list' #28

Closed
KiranPrajapati345 opened this issue Nov 24, 2016 · 4 comments
Closed

Comments

@KiranPrajapati345
Copy link

when I run this command this gives error.
AttributeError: type object 'AppCommand' has no attribute 'option_list'

:(
that's why http://127.0.0.1:8000/ gives me page not found

@Brobin
Copy link
Owner

Brobin commented Nov 28, 2016

This is due to your django version. You are using 1.10, correct? They deprecated option_list. I will work on this if I get a chance, but I'm really busy with school at the moment.

A similar thing is being done, to drop earlier django support on my other repo, if you'd like to give a stab at it yourself. https://github.com/Brobin/django-seed/pull/38/files

@Brobin Brobin changed the title $ python manage.py generate api --format modelviewset Django 1.10 support. no attribute option_list Nov 28, 2016
@Brobin Brobin changed the title Django 1.10 support. no attribute option_list Django 1.10 support. 'AppCommand' has no attribute 'option_list' Nov 28, 2016
@KiranPrajapati345
Copy link
Author

KiranPrajapati345 commented Nov 28, 2016 via email

@Zeitvertreib
Copy link

doh, im not getting any clue out of it.. how to solve it?

@Brobin
Copy link
Owner

Brobin commented Mar 8, 2017

Install the latest version (0.3.0) and this should be resolved. There were 2 open PRs to fix this, but noone was responding, so I did it myself.

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

No branches or pull requests

3 participants