#18133: global settings for label_suffix
-------------------------------------+-------------------------------------
     Reporter:  Evil Clay            |                    Owner:  nobody
  <clay.evil@…>                      |                   Status:  closed
         Type:  New feature          |                  Version:  1.4
    Component:  Uncategorized        |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Evil Clay <clay.evil@…>):

 i''m using the solution described about, but you mentioned some
 improvement  - > (though it could perhaps be made more elegant by use of
 **kwargs), so i just want to add this:

 - i'm a beginner in python, as i consider my self a good developer in
 java, and from my experience, people will copy paste the above solution
 into their projects without thinking. Maybe it would be wise to either:
 1. add a proper kwargs solution to this ticket (you you write it, i can
 test it in my current project)
 2. add a proper solution to djnago docs and delete this ticket so people
 won't copy the init args things which would make their projects vulnerable
 to future updates.

 I'm not asking this for my self, really, i can handle this one project of
 mine, but i really hate to provide such dirty code. So if you don't have
 the time to do 1 or 2, then at least delete this ticket so people won't
 copy this.
 Thank you.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18133#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to