I am new to django. I know it is silly question but i am stucked with this for so long. I run the command to create a django project using the command 'django-admin.py startproject testprj'. I creates a folder named testprj but nothing created inside the folder.
It shows no error in the command prompt. where i made the mistake ?
When i tried to run the downloaded prject it showing the following error
D: trackertracker>python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:Python27libsite-packagesdjangocoremanagement__init
338, in execute_from_command_line
utility.execute()
File "C:Python27libsite-packagesdjangocoremanagement__init
330, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:Python27libsite-packagesdjangocoremanagementbase.p
in run_from_argv
self.execute(*args, **cmd_options)
File "C:Python27libsite-packagesdjangocoremanagementcomman
py", line 50, in execute
super(Command, self).execute(*args, **options)
File "C:Python27libsite-packagesdjangocoremanagementbase.p
in execute
translation.activate('en-us')
File "C:Python27libsite-packagesdjangoutilstranslation__in
e 146, in activate
return _trans.activate(language)
File "C:Python27libsite-packagesdjangoutilstranslationtran
ine 219, in activate
_active.value = translation(language)
File "C:Python27libsite-packagesdjangoutilstranslationtran
ine 205, in translation
_translations[language] = DjangoTranslation(language)
File "C:Python27libsite-packagesdjangoutilstranslationtran
ine 114, in __init__
self._init_translation_catalog()
File "C:Python27libsite-packagesdjangoutilstranslationtran
ine 151, in _init_translation_catalog
translation = self._new_gnu_trans(localedir, use_null_fallback)
File "C:Python27libsite-packagesdjangoutilstranslationtran
ine 135, in _new_gnu_trans
fallback=use_null_fallback)
File "C:Python27libgettext.py", line 469, in translation
raise IOError(ENOENT, 'No translation file found for domain', d
IOError: [Errno 2] No translation file found for domain: u'django'
Can anyone help me to solve and explain why this happening ?? thanks in advance.
Aucun commentaire:
Enregistrer un commentaire