Hi, I have a problem.
How can I insert a data in a template? *Not by "extends"!*
Thanks! 

base.html

{% load static %}<html>
    <head>
    <link rel="stylesheet" href=
"//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href=
"//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="{% static 'css/base.css' %}">
<link href=
"https://fonts.googleapis.com/css?family=Lobster&subset=latin,latin-ext"; rel
="stylesheet" type="text/css">
    </head>
<header>
*    <img src="{### get_object(Image, pk=1) ###}"/>     <--- Here           
      *
</header>
    <body>
    {% block content %}
    {% endblock %}
    </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e32e897a-3efb-4e11-a36d-49abb2437ab0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to