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

Upgrade Django 3.2 #34

Closed
wants to merge 1 commit into from
Closed

Upgrade Django 3.2 #34

wants to merge 1 commit into from

Conversation

hthungdot
Copy link

No description provided.

@NaviRocker
Copy link
Member

Hi @hthungdot, I noticed that you are new to contributions. That's a great start! However, I would like to offer some advice. Before submitting a pull request, please claim the issue and refer to it in the pull request's description. Additionally, provide some information on what exactly you have done. This will make it easier for the reviewer to assess. Once again, best of luck with your upcoming contributions. Cheers!


try:
res[k] = f['evaluate'](instance, instance.order, ev)
except:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use more specfic error class with except. Don't use bare except or except Exception.

etag = None
try:
has_image = etag = f['etag'](instance, instance.order, ev)
except:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here for except.

@eMBee
Copy link
Contributor

eMBee commented Feb 16, 2024

how did you install django 3.2 to test this? the requirements files have not been updated to reflect the new versions needed. see src/requirements/*.txt

@hthungdot
Copy link
Author

@eMBee This pull request is not finished, but I committed what I have done so far. I hope someone else can finish it.

@eMBee
Copy link
Contributor

eMBee commented Feb 16, 2024

@eMBee This pull request is not finished, but I committed what I have done so far. I hope someone else can finish it.

ok, no worries. could you please outline which steps you took to get this far? i think it would help me and others to continue the work if we know how you created the current patch.

from django.views.decorators.csrf import csrf_exempt

import pretix.presale.views.cart
import pretix.presale.views.checkout
import pretix.presale.views.customer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "customer" module doesn't exist.
Don't know how you come up with the name of the views imported from it.

@hongquan hongquan closed this Feb 28, 2024
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.

4 participants