Seems to work normally after teens until last.
ke 6. tammik. 2021 klo 16.43 Jani Karjalainen (jani.karjalainen...@gmail.com)
kirjoitti:
> Playing with the API onglema joka koskee kohtassa >>>
> Question.objects.get(id=2)
> Traceback (most recent call last):
>
> Tulee seuraava ilmoitus
>
> Traceba
Playing with the API onglema joka koskee kohtassa >>>
Question.objects.get(id=2)
Traceback (most recent call last):
Tulee seuraava ilmoitus
Traceback (most recent call last):
File "", line 1, in
File
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/django/db/m
wrote:
>
>> Hello,
>>
>> I'm enjoying the tutorial and now I'm stuck on the second page (writing
>> your first Django app part 2), shortly after this paragraph.
>>
>> 'It’s important to add __str__()
>> <https://docs.djangoproject.com/en/
What is the definition of your __str__() method?
On Thu, Jun 9, 2016 at 4:11 PM, Neil Hunt wrote:
> Hello,
>
> I'm enjoying the tutorial and now I'm stuck on the second page (writing
> your first Django app part 2), shortly after this paragraph.
>
> 'It’s im
Hello,
I'm enjoying the tutorial and now I'm stuck on the second page (writing
your first Django app part 2), shortly after this paragraph.
'It’s important to add __str__()
<https://docs.djangoproject.com/en/1.9/ref/models/instances/#django.db.models.Model.__str__>
m
as usual...
Thank you Ramiro for your effort
W dniu poniedziałek, 27 stycznia 2014 14:14:14 UTC+1 użytkownik Ramiro
Morales napisał:
>
> On Mon, Jan 27, 2014 at 7:54 AM, Rafał Szymański
> >
> wrote:
> > Hello everybody.
> > I'm Rafał. I just started learnig and I'd like to ask You for little
On Mon, Jan 27, 2014 at 7:54 AM, Rafał Szymański wrote:
> Hello everybody.
> I'm Rafał. I just started learnig and I'd like to ask You for little help.
> I'm in the part 2 of tutorial - admin, Adding related objects.
> I have no three slots for related Choices.
> Here is my code.
> [snip]
> class
Hello everybody.
I'm Rafał. I just started learnig and I'd like to ask You for little help.
I'm in the part 2 of tutorial - admin, Adding related objects.
I have no three slots for related Choices.
Here is my code.
Thanks in advance for any help.
from django.contrib import admin
from polls.models
ader names.
>
>
>
> On Wednesday, January 15, 2014 10:28:38 AM UTC-8, Manu wrote:
>>
>> Can you post your directory structure here? The problem should be there,
>> most probably.
>>
>> On Wednesday, 15 January 2014 11:37:51 UTC+5:30, Tim DiSabatino wrote:
&g
ust going through the Django Tutorial and am in Writing your first
>> Django app, part 2. In the section called "Customize the admin look and
>> feel", I have created a templates directory, an admin directory inside of
>> that, and copied the base_site.html fil
Can you post your directory structure here? The problem should be there,
most probably.
On Wednesday, 15 January 2014 11:37:51 UTC+5:30, Tim DiSabatino wrote:
>
> Hello,
>
> I am just going through the Django Tutorial and am in Writing your first
> Django app, part 2. In the
Hello,
I am just going through the Django Tutorial and am in Writing your first
Django app, part 2. In the section called "Customize the admin look and
feel", I have created a templates directory, an admin directory inside of
that, and copied the base_site.html file into the admin
Hi all,
I followed all three steps to activate the admin site. but when I went to
/admin, it came as follow:
NameError at /admin
name 'admin' is not defined
Request Method:GETRequest URL:http://127.0.0.1:8000/adminDjango Version:
1.4.2Exception Type:NameErrorException Value:
name 'admin' is
thanks
official version did the job
On Friday, September 7, 2012 8:32:55 AM UTC+5:30, Melvyn Sopacua wrote:
>
> You're using development version of Django. Python 2.5 support is dropped
> there. Use official 1.4 release.
>
--
You received this message because you are subscribed to the Google Gr
Nevermind. I think I confused myself in doing step 3 before 2.
On Thursday, September 6, 2012 11:44:30 AM UTC-7, Maheshakya Wijewardena
wrote:
>
> I've followed the instruction & proceeded upto the point where it comes to
> activate the admin site. But I get the following error when I load the
I have a different error:
ViewDoesNotExist at /admin/
Could not import polls.views.vote. View does not exist in module polls.views.
Request Method:GETRequest URL:http://127.0.0.1:8000/admin/Django Version:
1.4.1Exception Type:ViewDoesNotExistException Value:
Could not import polls.views.vote. V
You're using development version of Django. Python 2.5 support is dropped
there. Use official 1.4 release.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from th
Maybe, your browser dont accept cookies ??
2012/9/6 Maheshakya Wijewardena
> I've followed the instruction & proceeded upto the point where it comes to
> activate the admin site. But I get the following error when I load the page
> " http://127.0.0.1:8000/admin/";
>
> CookieError at /admin/
>
>
I've followed the instruction & proceeded upto the point where it comes to
activate the admin site. But I get the following error when I load the page
" http://127.0.0.1:8000/admin/";
CookieError at /admin/
Invalid Attribute httponly
Request Method:GETRequest URL:http://127.0.0.1:8000/admin/D
On Wed, Jan 21, 2009 at 2:55 PM, bconnors wrote:
>
> in followingWwriting your first Django app, part 2
>
> when I typed in: http://127.0.0.1:8000/admin/
>
> I got:
>
> [snip]
File "C:\Python26\Lib\site-packages\django\views\defaults.py", line
> 23, in serv
in followingWwriting your first Django app, part 2
when I typed in: http://127.0.0.1:8000/admin/
I got:
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\django\core\servers
\basehttp.py", line 278, in run
self.result = application(self.environ, self.star
21 matches
Mail list logo