Re: Same tutorial different day

2017-06-06 Thread Melvyn Sopacua
On Monday 05 June 2017 11:24:08 kit...@gmail.com wrote: > I was attempting the tutorial titled "Writing your first Django app". > The tutorial appears to be very simple, but it does not seem to work. > I have frustrated myself by attempting to do it from scratch after > failing last week. If I c

Re: Same tutorial different day

2017-06-06 Thread knbk
You should move the `polls/` subdirectory to the outer `mysite/` directory, rather than the inner `mysite/mysite/` directory. The tutorial does actually say this, but admittedly it's easy to miss: Your apps can live anywhere on your Python path >

Re: Same tutorial different day

2017-06-06 Thread Jani Tiainen
Hi, If you feel that Django official tutorial isn't verbose enough, you could try out Django Girls tutorial [1] [1] https://tutorial.djangogirls.org/en/ On 05.06.2017 21:24, kit...@gmail.com wrote: I was attempting the tutorial titled "Writing your first Django app". The tutorial appears t

Re: Same tutorial different day

2017-06-05 Thread James Schneider
On Jun 5, 2017 7:27 PM, "Lachlan Musicman" wrote: I think your mysite/urls.py needs an import polls Ah, yes. This is the other common issue with the tutorial. Many of the code blocks omit the necessary import statements to keep the examples easier to read. The expectation is that the reader ha

Re: Same tutorial different day

2017-06-05 Thread James Schneider
On Jun 5, 2017 6:50 PM, wrote: I was attempting the tutorial titled "Writing your first Django app". The tutorial appears to be very simple, but it does not seem to work. I have frustrated myself by attempting to do it from scratch after failing last week. If I could get this app to work I cou

Re: Same tutorial different day

2017-06-05 Thread Lachlan Musicman
I think your mysite/urls.py needs an import polls -- "Mission Statement: To provide hope and inspiration for collective action, to build collective power, to achieve collective transformation, rooted in grief and rage but pointed towards vision and dreams." - Patrisse Cullors, *Black Live