Wham! That is what I was looking for.

From a class-based-view virgin to a wise head:

**you have been so helpful**

thank you

On 4/17/20 1:08 PM, Dylan Reinhold wrote:
def get_context_data(self, **kwargs):
        # Call the base implementation first to get a context
        context = super().get_context_data(**kwargs)
        # You your stuff
        context['my_pk'] = self.kwargs['pk']
        return context

--
Tim
tj49.com

--
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/106db642-7f41-1cd5-b20b-a0db77f2c854%40akwebsoft.com.

Reply via email to