I'm not directly modifying any code in a .py file I am simply adding a
value to the database table but I am unable to see the change reflected in
my drop down lists until I restart the server. Is there a better way of
populating choices for my drop down menu? Or could I simply add a cron job
Hi Patrick,
Plz review for your suitable case:
https://stackoverflow.com/questions/3742734/django-restart-server-or-httpd
Nice.
On Sat, Jun 20, 2020, 1:32 AM Patrick Carra wrote:
> I am trying to read distinct values from a model field and use the tuple
> list to populate the choices in a
I am trying to read distinct values from a model field and use the tuple
list to populate the choices in a Form. The problem I have is that every
time a new value is added I must reset the httpd server in order to include
the new value in the form. I have researched and tried this a few
3 matches
Mail list logo