Thanks Kelvin
Dtb/Gby
===
Mario R. Osorio
"... Begin with the end in mind ..."
http://www.google.com/profiles/nimbiotics
On Sun, Oct 13, 2013 at 12:34 AM, Kelvin Wong wrote:
> You need to understand what ALLOWED_HOSTS does if you want to ever deploy
> your app. Please
You need to understand what ALLOWED_HOSTS does if you want to ever deploy
your app. Please read it.
https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
Check your settings in the shell
>>> from django.conf import settings as s
>>> s.DEBUG
True
>>> s.ALLOWED_HOSTS
['.example.com',
>From the server; I am getting the page I need but the block where the data
from the view in question is supposed to be comes out empty.
>From the django.test.client's Client() response.status.code is 200.
I am indeed geting the ALLOWED_HOSTS warning, which I don't fully
understand and don't
In the shell:
>>> from django.test import Client
>>> c = Client()
>>> r = c.get('/about')
>>> r.context
https://docs.djangoproject.com/en/1.5/topics/testing/overview/#module-django.test.client
K
On Friday, October 11, 2013 3:14:38 PM UTC-7, Mario Osorio wrote:
>
> You are right, I fixed that
You are right, I fixed that after posting as someone else point it out to
me, but this is not working out for me nonetheless
On Friday, October 11, 2013 6:11:54 PM UTC-4, donarb wrote:
>
> On Friday, October 11, 2013 2:48:13 PM UTC-7, Mario Osorio wrote:
>>
>> Hello all, working with mezzanine,
On Friday, October 11, 2013 2:48:13 PM UTC-7, Mario Osorio wrote:
>
> Hello all, working with mezzanine, I created in an app (newsroom) folder,
> a views.py http://dpaste.com/1413587/. This view is an addition to the
> blog app in site-packages. I then I put a section in my blog_post_list.html
Hello all, working with mezzanine, I created in an app (newsroom) folder, a
views.py http://dpaste.com/1413587/. This view is an addition to the blog
app in site-packages. I then I put a section in my blog_post_list.html
template file to (supposedly) show the data from that view
7 matches
Mail list logo