Skip to content

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