python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do I make my urlpatterns smarter, to avoid cumbersome code in my templates?
Right now I have defined my URLs such that they can include different combinations of category (always on), attribute_slugs (1 and/or 2) and brand_slug, all using the urlpatterns defined below.
In my ...

Frederik Faarup
Votes: 0
Answers: 1
Using related_name in Django
I am getting confused with the usage of related_name in django models, i know that the idea is to give me access to all the fields of a different table with foreignkey i am just not sure how to use it...
newprogrammer12
Votes: 0
Answers: 2
Django include template no data
I am trying to include a file, into my base.html
Inside the base, inn the base.html
{% block content %}
{% include "something.html" %}
{% endblock %}
But nothing shows up from the included...

MerrinX
Votes: 0
Answers: 2
Django embed/dispaly .pdf in page
I am attempting to display .pdfs that have been uploaded by users. I can display the path to the pdf but not document itself. I attempted to use "" in the template but this is not working.
A...
Finn
Votes: 0
Answers: 0