Re: Unable to update questions in "Writing First Django App" tutorial

2018-10-27 Thread Darrell Hall
I kept starting new projects, but that that made it more confusing. In the tutorial there is a point where you query and update questions. These have not updated in the old projects, so I deleted all the previous projects, apps and cleared directories. I’m at the migrations stage, debugging

Re: Unable to update questions in "Writing First Django App" tutorial

2018-10-18 Thread Ing.Daniel Bojorge
You can try to start a new project or create a new app. Really I don't understand your question. Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image: http://]about.me/daniel.bojorge *Curso Django 2.1* Mi Blog

Unable to update questions in "Writing First Django App" tutorial

2018-10-18 Thread LIGHTNING OMEGA 2 636
I've been trying to complete the Django tutorial, and I get to the part where we're to "play with the API" and although I created the superuser fine, for some reason the questions do not work. Also, how do I update the "installed apps" if I'm not using "polls" or if I'm creating my own app.

Re: First Django app tutorial

2018-05-14 Thread Cuneyt Mertayak
etting it > well. But I have an issue with the first Django app tutorial. > My questions display well redirect to the detail view well and to the vote > view well. > The problem I have is that my question does not display the 'choices' of > type radio bellow the question text but dis

Re: First Django app tutorial

2018-05-14 Thread Daniel Hepper
> Hi everyone, I'm new to python and Django. I also think I am getting it > well. But I have an issue with the first Django app tutorial. > My questions display well redirect to the detail view well and to the vote > view well. > The problem I have is that my question does not d

First Django app tutorial

2018-05-14 Thread Yufenyuy Veyeh Didier
Hi everyone, I'm new to python and Django. I also think I am getting it well. But I have an issue with the first Django app tutorial. My questions display well redirect to the detail view well and to the vote view well. The problem I have is that my question does not display the 'choices

Re: Timezone error when I launch the admin login screen in 'Writing your first Django app'-tutorial

2017-09-26 Thread Dan Tagg
Check the Django Settings file and set TIME_ZONE = 'UTC' or something in this list http://en.wikipedia.org/wiki/List_of_tz_zones_by_name Dan On 26 September 2017 at 14:30, Lise wrote: > Hi, > > I'm trying to learn how to use Django through the 'Writing your first >

Timezone error when I launch the admin login screen in 'Writing your first Django app'-tutorial

2017-09-26 Thread Lise
Hi, I'm trying to learn how to use Django through the 'Writing your first Django app'-tuorial. I have reached the step where you create a superuser and you need to start the server and go to the local domain and see the admin login screen. I don't see the admin login screen, I see a message

Re: Writing your first Django app - Tutorial Question

2013-06-25 Thread Tony Guilin
> > you have missed > from django.utils import timezone > That worked! Thanks. P.S. I just copy and paste in Chrome (in Ubuntu) and it picks up the formatting. On Tuesday, June 4, 2013 4:10:23 PM UTC-7, Tony Guilin wrote: > > In the

Re: Writing your first Django app - Tutorial Question

2013-06-05 Thread Sergiy Khohlov
you have missed from django.utils import timezone Also simple question : How are you adding this nice code formatting ? Many thanks, Serge +380 636150445 skype: skhohlov On Wed, Jun 5, 2013 at 7:48 AM, Mike Dewhirst wrote: > On 5/06/2013 9:10am, Tony Guilin

Re: Writing your first Django app - Tutorial Question

2013-06-04 Thread Mike Dewhirst
On 5/06/2013 9:10am, Tony Guilin wrote: In the https://docs.djangoproject.com/en/1.5/intro/tutorial01/ tutorial under the, Playing with the API section, I'm trying to go through the example in my python shell as described. p = Poll(question="What's new?", pub_date=timezone.now()) But

Writing your first Django app - Tutorial Question

2013-06-04 Thread Tony Guilin
In the https://docs.djangoproject.com/en/1.5/intro/tutorial01/ tutorial under the, Playing with the API section, I'm trying to go through the example in my python shell as described. p = Poll(question="What's new?", pub_date=timezone.now()) But I'm unable to get to next command "p.save()"

Re: "Writing your first Django app" Tutorial Question

2012-10-12 Thread Tomáš Ehrlich
Hi Stefano, your understanding is incorrect. Django (neither Python) doesn't load (or import) anything by himself. Everything what you import is everything what you get. There are few exceptions, like Python builtin module (and default tags/templates in Django templates), but that's definitely

Re: "Writing your first Django app" Tutorial Question

2012-10-12 Thread Jan Bednařík
Hi, model Choice is related to model Poll by ForeignKey. All Choice objects related to specific Poll object can by returned by: my_poll.choice_set.all() And that is happening in the template in for loop: {% for choice in poll.choice_set.all %} ... More detailed info is here:

Re: "Writing your first Django app" Tutorial Question

2012-10-12 Thread Jason Sibre
Hi Rick, I'll try to explain, but it's really more about Python than Django... (I'm not familiar with the tutorial app, so I'm basing my answers on what code you copied into your email.) That import of Poll that you see in details.py doesn't even enter into it. It's only used on the line that

"Writing your first Django app" Tutorial Question

2012-10-12 Thread Rick Chong
Hi, I have just started learning programming and I am following the creating a poll app tutorial at: https://docs.djangoproject.com/en/1.4/intro/tutorial03/ I hope that someone has attempted this tutorial and is able to help me on some very beginner questions: In this app, we defined 2 classes

Re: Writing your first Django app tutorial, part 3 question

2010-06-10 Thread Dan Harris
On Jun 10, 10:09 pm, albert kao <albertk...@gmail.com> wrote: > On Jun 10, 6:30 pm, albert kao <albertk...@gmail.com> wrote: > > > > > > > I try the "Writing your first Django app tutorial, part 3" (http:// > > docs.djangoproject.com/en/dev/intro

Re: Writing your first Django app tutorial, part 3 question

2010-06-10 Thread albert kao
On Jun 10, 6:30 pm, albert kao <albertk...@gmail.com> wrote: > I try the "Writing your first Django app tutorial, part 3" (http:// > docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03) with > Django-1.2.1. > I have got a Page not found (404) when mod

Re: Writing your first Django app tutorial, part 3 question

2010-06-10 Thread Dan Harris
first-view part of the documentation for more. Cheers, Dan Harris dih0...@gmail.com On Jun 10, 6:30 pm, albert kao <albertk...@gmail.com> wrote: > I try the "Writing your first Django app tutorial, part 3" (http:// > docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tuto

Writing your first Django app tutorial, part 3 question

2010-06-10 Thread albert kao
I try the "Writing your first Django app tutorial, part 3" (http:// docs.djangoproject.com/en/dev/intro/tutorial03/#intro-tutorial03) with Django-1.2.1. I have got a Page not found (404) when modifying the urls.py described in the "Decoupling the URLconfs" section: Request