bulk_update: add **exclude** arg

2019-01-18 Thread Mohammad Etemaddar
,* *Mohammad Etemaddar* -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegrou

static templatetag: adding default argument blank

2019-01-20 Thread Mohammad Etemaddar
in the conversion of HTML template to Django template, sometimes it is hard to find&remplce static paths. In current Django template we should change for example this: to as you see we add two parts to the href: We can also do in this order: (2) In this way, we need to do only one find/

Re: static templatetag: adding default argument blank

2019-01-20 Thread Mohammad Etemaddar
You are right. This is a better option, {{ STATIC_URL }}. Mohammad Etemaddar * in <http://www.linkedin.com/pub/mohammad-etemaddar/9/832/462>* Programming services: *Python* & *Linux* On Sun, Jan 20, 2019 at 9:46 PM Adam Johnson wrote: > I would be against adding this. Most

Re: Django 2.2 release candidate 1 released

2019-03-20 Thread Mohammad Etemaddar
Is it possible to have this option in Django 2.2? When we select a OneToOne object by related_name, rises DoesNotExists when have no object related. Is it possible to add the behaviour to return None instead of DoesNotExists? Thank you On Monday, March 18, 2019 at 12:33:15 PM UTC+3:30, Carlton

Re: Django 2.2 release candidate 1 released

2019-03-21 Thread Mohammad Etemaddar
Ryan and Adam, Thank you very much. The links was so helpful. I liked to find the best way to contribute. Sincerely, Mohammad Etemaddar <https://www.linkedin.com/in/mohammad-etemaddar> On Wed, Mar 20, 2019 at 7:39 PM Adam Johnson wrote: > Hi Mohammed, > > Thanks for making a