non3x localhost django django-admin py startproject myblag non3x local

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[non3x@localhost django]$ django-admin.py startproject myblag
[non3x@localhost django]$ ls
myblag
[non3x@localhost django]$ ls myblag/
__init__.py __init__.pyo manage.py manage.pyo settings.py settings.pyo urls.py urls.pyo
[non3x@localhost django]$ cd myblag/
[non3x@localhost myblag]$ python manage.py runserver
Validating models...
Unhandled exception in thread started by <function inner_run at 0x232d050>
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/core/management/commands/runserver.py", line 48, in inner_run
self.validate(display_num_errors=True)
File "/usr/lib/python2.6/site-packages/django/core/management/base.py", line 246, in validate
num_errors = get_validation_errors(s, app)
File "/usr/lib/python2.6/site-packages/django/core/management/validation.py", line 22, in get_validation_errors
from django.db import models, connection
File "/usr/lib/python2.6/site-packages/django/db/__init__.py", line 57, in <module>
'TIME_ZONE': settings.TIME_ZONE,
File "/usr/lib/python2.6/site-packages/django/db/backends/dummy/base.py", line 47, in __init__
self.client = DatabaseClient(self)
TypeError: object.__new__() takes no parameters