> File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 334, in get > > self.model._meta.object_name > > DoesNotExist: Group matching query does not exist. > > > Can someone help me ? >
BTW, this is a standard exception raised by Django for queryset operations that act on single objects that are not found, most commonly for .get(). If there's a chance you'll hit this during normal operation, you'll need to catch the exception and handle it accordingly, or it will turn into a 500 error in the browser. https://docs.djangoproject.com/en/1.8/ref/models/instances/#doesnotexist -James -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciV41LP3nNEazc-pxtp0snR3C9H%2Bi%2BUoJNo4Wi7P%3DY%3DDaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.