On Oct 5, 12:52 pm, chocolatero wrote:
> Hi Friends! I'm working with django and i have this error:
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/myapp/New_page/
> Django Version: 1.2.3
> Exception Type: ValueError
> Exception Value:
>
> invalid literal fo
Hi,
New_page isn't a valid ID. By default, the id field is a number.
Regards,
Xavier.
Le 5 oct. 2010 à 13:52, chocolatero a écrit :
> Hi Friends! I'm working with django and i have this error:
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/myapp/New_page/
> Django Version:
Hi Friends! I'm working with django and i have this error:
Request Method: GET
Request URL:http://127.0.0.1:8000/myapp/New_page/
Django Version: 1.2.3
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: 'New_page'
Exception Location:
For your DATABASE_NAME, try using an absolute path without the tilde (~)
shortcut, that might solve it:
DATABASE_NAME = '/home/ssk/Projects/mysites/mysite/mysite.db'
On 10/21/07, SSK <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to get started with Django, but I've hit a hurdle with
> database.
>
>
On 10/21/07, SSK <[EMAIL PROTECTED]> wrote:
> Hmm. Changing ~/... to /Users/Myname/... solved the problem.
Django does not expand shell abbreviations or variables, like "~" or
"$HOME", when opening files.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-
Hmm. Changing ~/... to /Users/Myname/... solved the problem.
--~--~-~--~~~---~--~~
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 unsubscrib
I'm trying to get started with Django, but I've hit a hurdle with
database.
I have a very basic configuration: Python 2.5, Django (SVN), built-in
server, SQLite3 db.
My settings.py has this:
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = '~/Projects/mysites/mysite/mysite.db'
When I run syncdb, I g
7 matches
Mail list logo