HI Vajrasky, Django itself is licensed under the BSD license. This license allows you to produce derivative works, provided you comply with the terms of the BSD license. That means you can apply whatever *additional* terms you want, but the original copyright notice and attribution must also be provided with the code.
In the case of a snippet like this one, your best bet is to add a comment in the code that reads something like: # This is derived from code provided by the Django Project. # Original code is licensed under the terms of the BSD license. # See https://github.com/django/django/blob/master/LICENSE for full original license terms Yours, Russ Magee %-) On Wed, Dec 25, 2013 at 11:29 PM, Vajrasky Kok <[email protected]>wrote: > Merry Christmas or Happy Holidays, > > In this ticket, https://code.djangoproject.com/ticket/21651, I tried to > fix the helper method but core developers decided to remove it. I hold no > grudge against that decision. But instead of letting the my fix goes to > blackhole, for the sake of humanity, I decided to save it in Python Recipes > (ActiveState Code): > > http://code.activestate.com/recipes/578796-recapitalize-word-in-the-beginning-of-every-senten/ > > Do I get blessing from Django to do this? If yes, what license should I > choose? I chose PSF for no reason. If this is a no-no, don't worry. I'll > nuke the recipe. > > Thanks. > Vajrasky Kok > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/890e3520-190c-4c05-a9e2-6c10fd90a4f6%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAJxq84_Tw_mXVWbb0%2BzW%2B_eAsAPSkxX-5K-FOYbnjfQxS%2BwcVw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
