--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ca1ef95d-166a-40ef-91bc-16f2d704f2ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCcnxCFkss1b8sOTDW3Kb6Vc1fFst4MO024%2BEq%3DwXLGjcg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFab_C8HUsxdpqz-MGqcpw0ZwgFOvrYZ-RJte6-H5x38b97ciQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ60hW3aGwHHutJiXASPkmgDKtn1g1QBgU4PpcuKa1zodypfRQ%40mail.gmail.com.
def productsgrouping_update_view(request, url_id): assigned = get_object_or_404(Material, pk=url_id)
naravno prvo moraš da importuješ get object or 404:
from django.shortcuts import get_object_or_404
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFab_C8ZxPMgVB6Z%3DXZ3OxNa8wQmvfmCtsvDKaxifmXHV1eZhA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ60hW3HSn_PcNNHihst69x37QAqh1KO_pYFAusUvF-j6C9DvQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFab_C9woh%3D05E3EpBzOpfkdXT-nas427zqr8MLsDpLn0cYcFw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ60hW20Q5bVzCWd5tU%3Dhhb21zEgpwyQkbrjqxkNkOG_bXC0sA%40mail.gmail.com.
Bok Nebojša, jel možeš uletit i pogledati molim te što radim krivo.Znači, imam 2 aplikacije, prva abc radi a druga product groups ne radi..Sve je kopirano u 2 privitka.Da li imaš vremena pogledati pliz?