Skip to content

When adding an item to my cart, a 404 error is thrown.  #1

@tealamore

Description

@tealamore

This is what was displayed.

Page not found (404)
Request Method:     POST
Request URL:    http://spycart.johndavidback.com/cart/add/

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

^$
^catalog/$
^product/(?P<product_id>\d+)/$

The current URL, cart/add/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

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