Hello everyone!!
-- I have stuck in the middle of my project. Please help.
I have created a custom function within a model, which sends a newsletter email to the subscribed users. I registered this model action in admins.py , so that I can perform that action using admin panel.
After that, when I go to django admin panel, and perform the action , it shows me an error:
ValueError at /admin/blog/post/
not enough values to unpack (expected 2, got 1)
How can I fix this? Please help!!
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/545ecfea-e181-4a4a-bc7f-d26856ccfadb%40googlegroups.com.
No comments:
Post a Comment