Skip to content

error on routing to some views #1

@kia1349

Description

@kia1349

hi omar
i have problem on some routing

for example , when i click on "read more" blow any product i get this error:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/single-blog.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/
  11. ^media/(?P<path>.*)$
  12. ^static/(?P<path>.*)$

The current path, single-blog.html, didn’t match any of these.

or when click on product image , then i have this error:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/single-blog.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/
  11. ^media/(?P<path>.*)$
  12. ^static/(?P<path>.*)$

The current path, single-blog.html, didn’t match any of these.

when clicked on My Account:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/orders/payment/my-account.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/ [name='payment_method']
  11. orders/ checkout/ [name='checkout']
  12. orders/ payment/ [name='payment']
  13. orders/ payments/ [name='payments']
  14. orders/ order_completed/ [name='order_complete']
  15. ^media/(?P<path>.*)$
  16. ^static/(?P<path>.*)$

The current path, orders/payment/my-account.html, didn’t match any of these.

when clicked on My Cart:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/orders/payment/cart.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/ [name='payment_method']
  11. orders/ checkout/ [name='checkout']
  12. orders/ payment/ [name='payment']
  13. orders/ payments/ [name='payments']
  14. orders/ order_completed/ [name='order_complete']
  15. ^media/(?P<path>.*)$
  16. ^static/(?P<path>.*)$

The current path, orders/payment/cart.html, didn’t match any of these.

when i clicked on My Wishlist:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/orders/payment/wishlist.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/ [name='payment_method']
  11. orders/ checkout/ [name='checkout']
  12. orders/ payment/ [name='payment']
  13. orders/ payments/ [name='payments']
  14. orders/ order_completed/ [name='order_complete']
  15. ^media/(?P<path>.*)$
  16. ^static/(?P<path>.*)$

The current path, orders/payment/wishlist.html, didn’t match any of these.

and when i click on check out:

Page not found (404)

Request Method: | GET -- | -- http://127.0.0.1:8081/orders/payment/checkout.html

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

  1. admin/
  2. [name='home']
  3. shop/ [name='shop']
  4. shop/<slug:category_slug>/ [name='categries']
  5. shop/<slug:category_slug>/<slug:product_details_slug>/ [name='product_details']
  6. search/ [name='search']
  7. review/<int:product_id>/ [name='review']
  8. account/
  9. cart/
  10. orders/ [name='payment_method']
  11. orders/ checkout/ [name='checkout']
  12. orders/ payment/ [name='payment']
  13. orders/ payments/ [name='payments']
  14. orders/ order_completed/ [name='order_complete']
  15. ^media/(?P<path>.*)$
  16. ^static/(?P<path>.*)$

The current path, orders/payment/checkout.html, didn’t match any of these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions