Hi All ,
I am new for Django Framework , I need your help to fix this below issue
.I am trying to run cron job (python manage.py crontab add) but its
showing following error .
*System check identified some issues:*
*WARNINGS:*
*metric_db.note_appnav_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_automatedreg_table.updated: (fields.W161) Fixed default
value provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_autotest_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_buffer_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_featuredev_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_hardening_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_manualtest_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_planned_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_release_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_sustanance_table.updated: (fields.W161) Fixed default value
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.*
*System configuration : *
OS: Linux
Python 2.7 and Django version 1.8.3
I have tried multiple ways but no luck , Could you please help me to resolve this issue .
Thanks
Syed
-- I am new for Django Framework , I need your help to fix this below issue
.I am trying to run cron job (python manage.py crontab add) but its
showing following error .
*System check identified some issues:*
*WARNINGS:*
*metric_db.note_appnav_table.
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_automatedreg_
value provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_autotest_
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_buffer_table.
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_featuredev_
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_hardening_
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_manualtest_
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_planned_table.
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_release_table.
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.now`*
*metric_db.note_sustanance_
provided.*
* HINT: It seems you set a fixed date / time / datetime value as
default for this field. This may not be what you want. If you want to have
the current date as default, use `django.utils.timezone.*
*System configuration : *
OS: Linux
Python 2.7 and Django version 1.8.3
I have tried multiple ways but no luck , Could you please help me to resolve this issue .
Thanks
Syed
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0860374c-cc80-4c43-9b95-c4abe02d9320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment