Hi

I am using Django 4.0.4.

I am getting the TypeError quote_from_bytes() expected bytes when I save my 
model after creating a task.

When I backspace, the create form is still there on the screen as if not 
saved.

When I go to List View or Detail View, I find that everything went OK.

The error would be an inconvenience to a user.

The suggested solution from various quarters is to have get_absolute_url 
right, but it is:

    def get_absolute_url(self):
        return (
            reverse("internalcontrol:task_detail", kwargs={"pk": self.pk}),
        )

The prior models also have the get_absolute_url like this and they work 
normally.

What could be wrong?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5471c039-4d22-4118-9b10-d1e1b476f71fn%40googlegroups.com.

Reply via email to