Re: pass context to overridden templates

2017-05-04 Thread Florian Schweikert
On 03/05/17 15:53, cjdcordeiro wrote: > Probably the best would be overriding the app's default class based > view, but when I look at it > (https://github.com/django-notifications/django-notifications/blob/master/notifications/views.py#L29) > it doesn't have a get_context method or anything I can

Re: pass context to overridden templates

2017-05-03 Thread cjdcordeiro
Probably the best would be overriding the app's default class based view, but when I look at it (https://github.com/django-notifications/django-notifications/blob/master/notifications/views.py#L29) it doesn't have a get_context method or anything I can play with to change the default context..

pass context to overridden templates

2017-05-02 Thread cjdcordeiro
Hi guys, I'm using django-notification-hq, so my app's urls.py has: ... url(r'^inbox/', include(notifications.urls, namespace='notifications')), ... I've modified those default templates but I am unable to pass context to them. I found this: https://github.com/django-crispy-forms/django-