1 Replies - 113 Views - Last Post: 06 April 2014 - 02:54 PM

#1 csci_8000  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 07-March 14

Django Urls Stack up

Posted 06 April 2014 - 12:29 PM

Hey guys, Im having a problem with Django urls. I have a template where the href's are assigned by the categories in a database. My url dispatcher uses a regex expression and passes the parameter to my view to display only content based on that categories. However, if i click a link then another that last link to be click is just appended to the url. Thanks for the help.

Issue:

on url:
/webstore/Fiber%20Arts/
on this page click link for Forensics, and the url is now:
/webstore/Fiber%20Arts/Forensics/ <---this needs to be just /webstore/Forensics/

Is This A Good Question/Topic? 0
  • +

Replies To: Django Urls Stack up

#2 laytonsdad  Icon User is offline

  • Cheese and Sprinkles
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,832
  • Joined: 30-April 10

Re: Django Urls Stack up

Posted 06 April 2014 - 02:54 PM

We would need to see the problem code to give any usefull help.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1