[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Django Tutorial for Beginners – 15 – Render Template Shortcut
by
Tags:
Comments
14 responses to “Django Tutorial for Beginners – 15 – Render Template Shortcut”
-
i'm getting this error:
no module named 'django.shortcuts'anyone any ideas?
-
Why he didn't use /music/index.html in the render function but instead used music/index.html . Why that slash is not there, he has been using it in the past few videos.
-
following along here .. great tutorial … learning alot .. thanks !!
-
I can't even open my admin page..What's wrong
-
GUYS TELL ME!!!!!!
-
there are only 'you don't have any albums' in the website.why? what is wrong?
-
Not sure if people are still stuck:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Music</title>
</head>
<body><h3>My Albums</h3>
{% if all_albums %}<ul>
{% for album in all_albums %}
<li><a href="/music/{{ album.id }}/">{{ album.album_title }}</a></li>
{% endfor %}
</ul>{% else %}
<h1>No Albums</h1>
{% endif %}</body>
</html> -
Thx for these 🙂
-
I am getting the same error as everyone else, bullet points on /music but no actual items displayed how do i fix this??
-
no contents are being displayed on /music
-
why is context used??
and how can i display a html page which doesn't require anything from a database?? -
These tutorials are so helpful! I'm having a problem though – For some reason linking the template to the database is not returning any labels. As in, I see two bullet points where my two "albums" should be but there is no text. I don't get any errors when I run the server
-
what theme/fonts are you using ?
-
Bro… love your work!
How are you so productive btw? Got any advice for a procrastinator like me?
Leave a Reply