|
|
AttributeError: type object 'datetime' has no attribute 'datetime'
+ ^! a) } R6 r' z7 f
7 z, w( D( V4 I# Q1 T
: I( W* b9 W! Z9 h' K7 f7 ?, K. i/ Z$ iAttributeError: type object 'datetime' has no attribute 'datetime'
: `9 E$ B0 U- U8 y1 M[28/Apr/2025 21:12:45] "GET /hello/test/filter/ HTTP/1.1" 500 69413, R- H- w+ z" _* r
Internal Server Error: /hello/test/filter/( v$ h9 F% V. Y# Q
Traceback (most recent call last):
0 z& ~* X/ k" |% z: ? File "C:\Users\admin\python3.8.2-vitual\lib\site-packages\django\core\handlers\exception.py", line 34, in inner9 [( `: C9 X0 }+ T0 e
response = get_response(request)
4 |0 q2 t: x& Y File "C:\Users\admin\python3.8.2-vitual\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
# O Z! Z0 A+ ]: A% _- M+ Z response = self.process_exception_by_middleware(e, request)/ X; P% V, w# P. f
File "C:\Users\admin\python3.8.2-vitual\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response" [+ S v* c: y2 q" j4 Q" s' r
response = wrapped_callback(request, *callback_args, **callback_kwargs)' e' b+ h I" V: ~- T" A. z# N0 z
File "C:\Users\admin\Desktop\testmyproject\hello\views.py", line 160, in test_filter% H- r" Y3 M, B+ J% i0 U3 N: h
my_date = datetime.datetime(2050, 9, 28)
2 ]3 S+ K/ h6 ~2 B8 vAttributeError: type object 'datetime' has no attribute 'datetime'" y/ }- Y( C. h* o
( [5 R) X. n1 x' N
2 V; p/ {; |; J
( |4 V; V8 K! L9 N, T% b! o |
|