On woensdag 16 mei 2018 14:00:28 CEST Paolo Chilosi wrote:
> just a note on your note: I created a few more new project/app using
> PyCharm create facility and I found the app registered in the
> INSTALLED_APPS settings. I do not know if it is Django or PyCharm that
> introduce this setting.
It's
Hi..
How can i create grocery app.can you please share that data.
On Tuesday, May 15, 2018 at 7:10:33 PM UTC+5:30, Paolo Chilosi wrote:
>
> As new to Django I am learning following the tutorial carefully. When I
> reached the point of making the migration for the polls app I executed
> (from the
That's definitely PyCharm, Django does not modify your settings file.
I'm a big fan of PyCharm myself, but when following the tutorial, I would
suggest using its more advanced features and use like a plain text
editor to avoid any confusion.
On Wed, May 16, 2018 at 2:00 PM, Paolo Chilosi
wrote
just a note on your note: I created a few more new project/app using
PyCharm create facility and I found the app registered in the
INSTALLED_APPS settings. I do not know if it is Django or PyCharm that
introduce this setting. In the first case the Django tutorial documentation
should be amended
Just to note: Django doesn’t change the settings.py file, it only
references it so it knows what configurations to load.
On Tue, May 15, 2018 at 7:27 AM Paolo Chilosi
wrote:
> thanks for pointing out about the typo. However this was not the cause of
> the exception. Look to my previous answer.
>
thanks for pointing out about the typo. However this was not the cause of
the exception. Look to my previous answer.
On Tuesday, May 15, 2018 at 9:44:57 AM UTC-4, Sidyvan Fernandes de Andrade
wrote:
>
> python manage.py makemigrations polls
>
> 2018-05-15 8:51 GMT-03:00 Paolo Chilosi
> >:
>
>>
Mattew,
thank for the prompt answer.
In effects, for some reason the app was preset 2 times in the
INSTALLED_APPS list, also if I am sure I added it only once at the
beginning of the list. Maybe django added it again at the end of the list.
I will watch this behavior and let the list know.
Prob
python manage.py makemigrations polls
2018-05-15 8:51 GMT-03:00 Paolo Chilosi :
> As new to Django I am learning following the tutorial carefully. When I
> reached the point of making the migration for the polls app I executed
> (from the PyCharm terminal) the command:
>
> (venv) C:\Users\Paolo\
Though I’ve never seen that error, I’m guessing that maybe you added ‘polls’ to
your INSTALLED_APPS setting more than once. Simply remove the extra references
to it.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Paolo Chilosi
Sent: Tuesday, May 15, 201
Alright, so I found out the my text editor was saving my files incorrectly.
Even though it had ".html" it was displaying the whole text in the web
browser, instead of interpreting the the code.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Tried that one too, as it is further down in the tutorial. Still the same
result.
On Sunday, 10 December 2017 17:52:30 UTC-5, Roberth Solis Martínez wrote:
>
> I think its better if you use:
>
> context = {
> 'latest_question_list': latest_question_list,
> }
>
> return render(request, 'po
I think its better if you use:
context = {
'latest_question_list': latest_question_list,
}
return render(request, 'polls/index.html', context)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rece
Code for my view.py
from django.shortcuts import render
from django.http import HttpResponse
from django.http import Http404
from django.shortcuts import render
from django.template import loader
from .models import Question
# Create your views here.
def index(request):
latest_question_list
It look s fine also to me. What do you expect ?
2017-12-10 5:50 GMT+01:00 Dylan Reinhold :
> That looks fine. how about your view.py.
>
> Dylan
>
> On Sat, Dec 9, 2017 at 6:05 PM, Carl Brubaker
> wrote:
>
>> I copied it from the django tutorial page:
>>
>> {% if latest_question_list %}
>>
>
That looks fine. how about your view.py.
Dylan
On Sat, Dec 9, 2017 at 6:05 PM, Carl Brubaker
wrote:
> I copied it from the django tutorial page:
>
> {% if latest_question_list %}
>
> {% for question in latest_question_list %}
> {{ question.question_text
> }}
> {% endfor %}
I copied it from the django tutorial page:
{% if latest_question_list %}
{% for question in latest_question_list %}
{{ question.question_text
}}
{% endfor %}
{% else %}
No polls are available.
{% endif %}
--
You received this message because you are subscribed to
Show us your template.
Dylan
On Sat, Dec 9, 2017 at 1:44 PM, Carl Brubaker
wrote:
> I'm not sure what is wrong, but my template doesn't load correctly.
> Instead of what I'm supposed to see I get this in my web browser:
>
>
>
>
>
> What yo?
>
>
>
>
>
>
>
> Help please!
>
> --
> Yo
I figured it out. I had a space in between the "path(' '," single quotes in
the polls.urls and there isn't supposed to be one. Thanks for all of your
help.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
On 24 November 2017 at 12:15, Carl Brubaker
wrote:
> Ok, I applied the migration, but it still doesn't work. Maybe this is a
> django 2.0 bug that needs worked out. I figured I'd learn 2.0 so I wouldn't
> have to relearn after 2.0 releases. The initial check before creating the
> "polls app" wor
Hi Carl,
Please check the Django girls. They have very goods lectures for beginners.
---
Gerardo Palazuelos
Enviado desde mi iPhone
> El 23/11/2017, a las 18:15, Carl Brubaker
> escribió:
>
> Ok, I applied the migration, but it still doesn't work. Maybe this is a
> django 2.0 bug that needs
Ok, I applied the migration, but it still doesn't work. Maybe this is a
django 2.0 bug that needs worked out. I figured I'd learn 2.0 so I wouldn't
have to relearn after 2.0 releases. The initial check before creating the
"polls app" worked, but it can never find the address. Still need more
he
--
"The antidote to apocalypticism is *apocalyptic civics*. Apocalyptic civics
is the insistence that we cannot ignore the truth, nor should we panic
about it. It is a shared consciousness that our institutions have failed
and our ecosystem is collapsing, yet we are still here — and we are
crea
if the tutorial is not updated to django 2, then stick and install django
1.11
I´m a beginner too, and I was able to complete the django-girls tutorial;
which is awesome for beginners
good luck.
--
Gerardo Palazuelos Guerrero
On Thu, Nov 23, 2017 at 3:16 AM, Carl Brubaker
wrote:
> I am brand
Correction - The "import include" was mentioned in the tutorial, I missed
it.
I still need help!
On Thursday, 23 November 2017 09:33:35 UTC-5, Carl Brubaker wrote:
>
> I am brand new to Python and Django. I am trying to learn both
> simultaneously. I wanted to run the Django tutorial to make su
24 matches
Mail list logo