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

No Order matches the given query. Chapter 8 #100

Open
kaustubhsariputra opened this issue Sep 28, 2021 · 1 comment
Open

No Order matches the given query. Chapter 8 #100

kaustubhsariputra opened this issue Sep 28, 2021 · 1 comment

Comments

@kaustubhsariputra
Copy link

I am getting this error in chapter 8 on page number 274. I have added code to the views.py of the payment application.
Error is as follows:

Page not found (404)

No Order matches the given query.
Request Method: GET
http://127.0.0.1:8000/payment/process/
payment.views.payment_process

Using the URLconf defined in FlixKart.urls, Django tried these URL patterns, in this order:

  1. admin/
  2. cart/
  3. orders/
  4. payment/ process/ [name='process']

The current path, payment/process/, matched the last one.

@kaustubhsariputra
Copy link
Author

Does anyone reply here or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant