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

updated package version for Django 4 and Python 3 #39

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

eliuqiong
Copy link

current version cannot run on Python 3, will update other contents later

current version cannot run on Python 3
The function render_to_response is deprecated since Django 2.0 and was removed in Django 3.0. Django suggests using the render function instead.
solve the warning messages: 
WARNINGS: core.BillingAddress: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
Regarding django-crispy-forms templates packs are now in separate package,

depending on the boostrap version you are using, You will need to pip install crispy-bootstrap4 and add crispy_bootstrap4 to your list of INSTALLED_APPS. That will solve your issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant