Thank you for the very speedy reply. I really apprceciate that.  Actually I 
had tried the page/file name in place of the path as well and it still 
would not work. What it turned out to be is, on the back end of a reboot 
(because I took a break to up the memory on my macbook pro,) I rebooted and 
it then worked. Not sure why a reboot fixed it, but it did, just in case 
anyone else has the same problem in the future, that is what worked for me.
Thanks all!
CTA

On Friday, October 23, 2015 at 3:51:57 PM UTC-4, CTA2052 wrote:
>
> Hello All,
>
> This may be the most basic question to ask and believe me it does not come 
> without much research and frustration, but I just can't seem to make it 
> work. So I do apologize ahead of time for even having to post it. I am very 
> new to django (2-months), python(4-months) and in fact programming in 
> general. I have reviewed the online doc sevral times now and various books 
> and tutorials trying to find the answer.
>
> However, I can't seem to get my template variables to render within the 
> web page (crazy I know).
>
> I've tried this many different ways and finally backed-up and 
> stripped-down the code to see what it is I'm missing
>
> *Here is what I have right now in the veiw:*
>
> def response_page(request):
>   
>     myv = " fun fun fun "
>     context = {'affirmation': myv}
>     return render('/response_page/', context )
>
>
> *Here is the template:*
>
>
> <!DOCTYPE html>
>
> {% extends "base.html" %}
> {% load static %}
> {% load crispy_forms_tags %}
>
> <html lang="en">
> <head>
>     <meta charset="UTF-8">
>     <title>challenge_engine_response</title>
> </head>
> <body>
> {% block content %}
> <h1>Testing 1,2,3</h1>
>
>
> <p> I am having so much {{ affirmation }}   </p>
>
>         <a href="/home/">Back to Home Page</a>
>
> </body>
> {% endblock %}
> </html>
>
>
> Everything shows up as expected except the variable "affirmation"  which 
> of course should render as "fun fun fun".
>
> I am sure I am missing something silly, but what?
> Thanks in advance for the help.  I have very little hair left at this 
> point (ha).
>
> Thank you all!
>
> Humbly yours,
> CTA2052
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/69ee2f23-f96b-4e4e-90af-cdba160d8dc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to