Saving deleted code from Django source code

163 views
Skip to first unread message

Vajrasky Kok

unread,
Dec 25, 2013, 10:29:09 AM12/25/13
to django-d...@googlegroups.com
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

Russell Keith-Magee

unread,
Dec 26, 2013, 7:23:06 PM12/26/13
to Django Developers
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 %-)


--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
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.

Vajrasky Kok

unread,
Jan 5, 2014, 9:15:19 AM1/5/14
to django-d...@googlegroups.com
On Friday, December 27, 2013 8:23:06 AM UTC+8, Russell Keith-Magee wrote:

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. 

Thanks.

-- Vajrasky --
Reply all
Reply to author
Forward
0 new messages