ok guys, no need any help, i have solved it. it was all about altering
the database with manage.py sql ... i did the procedure from
beginning, it automatically solved.

thanks


On Aug 19, 2:51 am, furiston <[email protected]> wrote:
> i could not recognize the problem when i add a datetimefield to my
> model i can't get that model on admin page.
> i use mysql. without datetimefield it works. but when comes to add
> datetimefield to the model it stucks i get that error message. (ok. i
> didn't create 500.html, but i will :))
>
> Traceback (most recent call last):
>
>   File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py",
> line 279, in run
>     self.result = application(self.environ, self.start_response)
>
>   File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py",
> line 651, in __call__
>     return self.application(environ, start_response)
>
>   File "/usr/lib/pymodules/python2.6/django/core/handlers/wsgi.py",
> line 241, in __call__
>     response = self.get_response(request)
>
>   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py",
> line 134, in get_response
>     return self.handle_uncaught_exception(request, resolver, exc_info)
>
>   File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py",
> line 166, in handle_uncaught_exception
>     return callback(request, **param_dict)
>
>   File "/usr/lib/pymodules/python2.6/django/views/defaults.py", line
> 23, in server_error
>     t = loader.get_template(template_name) # You need to create a
> 500.html template.
>
>   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line
> 81, in get_template
>     source, origin = find_template_source(template_name)
>
>   File "/usr/lib/pymodules/python2.6/django/template/loader.py", line
> 74, in find_template_source
>     raise TemplateDoesNotExist, name
>
> TemplateDoesNotExist: 500.html

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to