delete button

2022-04-12 Thread 'Delvin Alexander' via Django users
Hello everyone, i am having trouble. i created a delete button but my page does not confirm the deletion of the post, nor does it redirect to another page. may someone help guide me on what it is i have done wrong and explain for me please? - I feel as though the problem could be located in my

Django Serialization: ManyToMany Field doesn't input into database

2022-04-12 Thread Jeffrey Ma
The code runs and all fields except the manytomany field is written into the mysql database. I am posting json to the django backend which will be written into the database. For more information:

Re: Logging: set default values for custom keys in custom formatters OR choose formatter based on logger

2022-04-12 Thread Derek
Re issue (1): https://github.com/django/django/blob/main/django/utils/log.py#L31 shows how Django uses its own JSON format in `settings.py` to set a link to its (local) own custom class `ServerFormatter`, which in turn inherits from Python's logging.Formatter. So it should be possible to