I have the same problem with the tutorial. I went through the first part
twice to ensure that I hadn't erred along the way. I did nothing more than
follow the tutorial https://docs.djangoproject.com/en/1.4/intro/tutorial01/
unlike the ticket posted above.
For context:
django-1.4.3
python-2.7.
Have you followed the tutorial exactly? I was unable to recreate this
problem when someone opened a trac ticket describing it:
https://code.djangoproject.com/ticket/18308
Another Django dev noted it was a duplicate of another ticket:
https://code.djangoproject.com/ticket/18226
where the problem
Same for me as well with a FreeBSD system and normal username,
LANGUAGE_CODE = 'en_us', database is postgresql with UTF-8 encoding. I went
through the steps in tutorial_02 to set up the admin site, and got the same
error as pasztilla. The django_site table in my database is empty.
We are evalua
I am also facing the exact problem indicated by pasztilla.
My usernaleme thing is fine (normal) but I have not been able to fix this
issue.
Any concrete cause/solution to this?
On Friday, August 26, 2011 3:35:39 AM UTC+5:45, pasztilla wrote:
>
> Hi Babatunde,
>
> Hi Babatunde,
>
>
>
> SITE_ID =
It isn't clear to me also. Initially I was surprised because the site
app doesn't have any dependency on django's user system. Even if it
does, django uses unicode which caters for those characters in your
name.
Well.at least we are sure the problem wsnt from the user name. But
something define
Hi Babatunde,
1. sorry for the delayed answer - but I was in the last three weeks
far from any possibility to use the Internet (and Django as well)...
2. I have tried to reproduce the phenomenon and with the 'Pászkán
Attila' as user it worked ! Why? - still it isn't clear.
PA
On Aug 26, 12:20
Cool. I'm really interested in finding out what went wrong. If you are
also, try to recreate the problem by using you former username and see
if the problem persists. If it does, its a bug that the community
could consider fixing. That error was thrown by the Site app so I'm
still wondering how a c
Hi Babatunde,
Hi Babatunde,
SITE_ID == 1
then I did what you've suggested:(see the result)
Microsoft Windows [verziószám: 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.
Minden jog fenntartva.
C:\Users\Pászkán Attila>
D:\>cd Atilla\Programoz\Django\Gyakorlaas\mysite
D:\Atilla\
Hi paszkan,
First I want you to go to your settings file and tell me what value is
specified for SITE_ID. You will need that value for the next step.
In your terminal where you would have typed "python manage.py
runserver" type "python manage.py shell"
Doing that would load django's inbuilt shell
Can you give more details?
2011/8/25 Babatunde Akinyanmi
> The error you stated normally happens when there are problems with the
> django_site table created when you start a project.
>
> On 8/25/11, Babatunde Akinyanmi wrote:
> > Please say exactly what you did. It will be easier to help tha
Yes, all these actions (*) I have done already, but they didn't help... :-(
(*): in .../mysite/*urls.py* I have uncommented:
*from django.contrib import admin
admin.autodiscover()
*
and further among *urlpatterns* I've uncommented:
*url(r'^admin/', include(admi
The error you stated normally happens when there are problems with the
django_site table created when you start a project.
On 8/25/11, Babatunde Akinyanmi wrote:
> Please say exactly what you did. It will be easier to help that way
>
> On 8/25/11, raj wrote:
>> In ur urls.py,
>> Did u import adm
Please say exactly what you did. It will be easier to help that way
On 8/25/11, raj wrote:
> In ur urls.py,
> Did u import admin, make it discoverable, and also uncomment the /
> admin/ url?
> Also, make sure that you syncdb by running python manage.py syncdb.
> Lemme know if that helps :)
> On A
In ur urls.py,
Did u import admin, make it discoverable, and also uncomment the /
admin/ url?
Also, make sure that you syncdb by running python manage.py syncdb.
Lemme know if that helps :)
On Aug 25, 9:29 am, pasztilla wrote:
> Hi there,
> I'm just trying to accomodate myself with Django - and so
Hi there,
I'm just trying to accomodate myself with Django - and so I tried to
go through the Django Tutorial from the Django official site. There
went everything ok with part 1, but at the very beginning of the part
2 I've met a problem(https://docs.djangoproject.com/en/1.3/intro/
tutorial02). In
15 matches
Mail list logo