Re: GSOC 2014 Project Proposal

2014-02-23 Thread Devashish Badlani
Preparing a sample project to each module of the DjangoBook is what is coding,and adding to that documentation using ReST (reStructuredText) , and the Sphinx cant that be a GSOC Project .It has code in it ,by all means Regards, Devashish Badlani -- You received this message because you are sub

Re: GSOC 2014 Project Proposal

2014-02-23 Thread Russell Keith-Magee
On Mon, Feb 24, 2014 at 9:28 AM, Tim Graham wrote: > As someone who has worked on Django's docs a lot, I've considered pitching > in to help update the Django Book. However, I'm not sure it's really the > best use of time as there's a lot of overlap between Django's docs and the > book. Unless so

Re: Using namedtuple instead of pure tuples

2014-02-23 Thread Alex Gaynor
FWIW these benchmaks are not measuring accurately. Creating a tuple of the form "(1, 2, 3)" (notably, where all the members are literal constants) takes NO time actually, since it's an immutable container of all immutable items, the compiler is able to factor the work out. A benchmark, even as idio

Re: Using namedtuple instead of pure tuples

2014-02-23 Thread Russell Keith-Magee
Hi Stratos, Thanks for providing those benchmarks -- that's really helpful. However, It's all well and good to say that "Doing X takes 0.01s" or "X is 50% slower than Y", but that if the time taken to do X is incredibly small to start with, a 50% slowdown doesnt really matter that much. The fact

Re: GSOC 2014 Project Proposal

2014-02-23 Thread Tim Graham
As someone who has worked on Django's docs a lot, I've considered pitching in to help update the Django Book. However, I'm not sure it's really the best use of time as there's a lot of overlap between Django's docs and the book. Unless someone wants to argue otherwise, I suggest we adapt any po

Re: GSoC 2014 idea proposal

2014-02-23 Thread Curtis Maloney
I think the most commonly requested feature is how to serilise non-Field properties of models. It's easy, but tedious, to do. Perhaps you could write a mixin to help with this, and improve the documentation? However, I don't see this being a task taking more than a few days... -- Curtis On 2

Re: GSOC 2014 Project Proposal

2014-02-23 Thread Josh Smeaton
Would increasing the scope of the django tutorial itself and deprecating the djangobook solve the issue of new users learning django? - The tutorial does a really great job of introducing the basics. - Online resources for learning django have improved, significantly, since 0.96. Although it ca

Re: Accelerated deprecation of fix_ampersands and clean_html

2014-02-23 Thread Alex Gaynor
For what it's worth, source graph is unable to find any callers of clean_html in OSS code (maybe github only?) either: https://sourcegraph.com/github.com/django/django/symbols/python/django/utils/html/clean_html Alex On Sun, Feb 23, 2014 at 2:15 PM, Erik Romijn wrote: > Dear all, > > I would l

Accelerated deprecation of fix_ampersands and clean_html

2014-02-23 Thread Erik Romijn
Dear all, I would like to propose the accelerated deprecation of the fix_ampersands built-in template filter, because in all use cases, it either simply does not work, or stimulates the user to create security vulnerabilities. In addition, I would like to deprecate django.utils.html.clean_html. T

Re: [GSOC] Improving the Test-Suite

2014-02-23 Thread Akshay Jaggi
On Thursday, 20 February 2014 00:35:43 UTC+5:30, Andrew Pashkin wrote: > > BTW - I recent;y trid to run Django test suite with Py.test and > pytest-django plugin and achived some success - main problem, that some > tests are failing and reason of it is not clear to me yet. > This solution requi

Re: [GSOC] Improving the Test-Suite

2014-02-23 Thread Akshay Jaggi
On Thursday, 20 February 2014 00:35:43 UTC+5:30, Andrew Pashkin wrote: > > BTW - I recent;y trid to run Django test suite with Py.test and > pytest-django plugin and achived some success - main problem, that some > tests are failing and reason of it is not clear to me yet. > This solution requi

[GSOC 2014 proposal] enhancing security features in django

2014-02-23 Thread Prithviraj Billa
Hello Guys! I am planning to work on developing and improving the security features of Django. I would like some help in formalizing the proposal so that it will meet the requirements. Things i understood how security against csrf works and how it is implemented in django. (please correct

GSoC 2014 idea proposal

2014-02-23 Thread Surya K
Hey all, Here is the idea (Improving *django.core.serializers* module). I have used django serializer module recently and feel its really not that beautiful. 1. Good moderation mechanism in choosing attributes to serialize; 2. To sort the order of serialized data [I am still thinking about wha

Re: GSoC query

2014-02-23 Thread anubhav joshi
I originally wanted to work on aggregates/annotation improvement in GSoC and still wish the same. The issues that I want to consider are: Implementing arithmetic operations on aggregation/annotation. Implementing conditional aggregates. Fixing the errors related to the working eg. default values

Re: Using namedtuple instead of pure tuples

2014-02-23 Thread Adam Kaliński
Oh! And as far as I understand they're equally memory consuming import sys from collections import namedtuple T = namedtuple('T', 'a b c d e') assert sys.getsizeof((1,2,3,4,5)) == sys.getsizeof(T(1,2,3,4,5)) W dniu niedziela, 23 lutego 2014 14:12:38 UTC+1 użytkownik Adam Kaliński napisał: > >

Re: Using namedtuple instead of pure tuples

2014-02-23 Thread Adam Kaliński
I did my own tests with similar results: http://nbviewer.ipython.org/gist/adamkal/9171081 looks like creating a namedtuple is also quite time consuming and it's even hard to compare to tuple here. Good thing is that we have backward compatibility that has no overhead on accessing data. W dn