oh wow that was it, i wasnt reading the instructions correctly, i clearly
said to go to /hello. Sorry about that, and thanks!
On Wednesday, July 5, 2017 at 4:38:24 PM UTC-5, Alceu Rodrigues de Freitas
Junior wrote:
>
> You forgot to say what is going wrong... I guessing you're getting a:
> Page
You forgot to say what is going wrong... I guessing you're getting a:
Page not found (404)
Request Method: GET
Request URL:http://127.0.0.1:8000/
Using the URLconf defined in |noobie.urls|, Django tried these URL
patterns, in this order:
1. ^admin/
2. ^hello/
The empty path
to be honest I haven't used Django in a while so take what I'm saying as
wrong - but shouldn't the url be
url(r'hello/$', views.hello, name='hello'),
Not sure you need "^" although I doubt it hurts.
Johnf
On 07/05/2017 02:23 PM, ahickm...@tamu.edu wrote:
So I literally just started django,
So I literally just started django, I know 0 about backend dev, but im
going through the djangobook tutorial (also, please excuse me if I use the
wrong syntax). He shows us how to get content to show up on our temporary
domain (a simple Hello World).
The hello world setup looks like so, with
4 matches
Mail list logo