Re: please help

2013-01-28 Thread Russell Keith-Magee
On Mon, Jan 28, 2013 at 9:17 PM, ABHINAV MISRA wrote: > I am Abhinav Misra, an undergraduate. > I was going through the project ideas of GSoC 2012 so as to find any > project of which I am capable of. > There i came up with the project named: " improved error reporting

Re: Ticket #17093 -- quarantine global state in django.template

2013-01-28 Thread ptone
On Monday, January 28, 2013 9:30:44 AM UTC-8, Christopher Medrela wrote: > > Hello everybody. > > 1. I'm working on ticket #17093 [1]. You can see progress of work at > github [2]. It's about rewritting django.template so it won't use global > state. I wrote this post to tell you what I did

Re: Simplify the default project template

2013-01-28 Thread ptone
Aymeric, I think this is a great start. I particularly like inserting the links to docs in the form of docs.djangoproject.com/en/{{ docs_version }}/* I actually think these sorts of links could be added to admin.py and views.py as well. And at least one other could be made more specific (the

Re: Simplify the default project template

2013-01-28 Thread Ryan D Hiebert
Since the admin is turned on by default, should there be a admin.py template file in the app template as well? Ryan -- 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

Re: Simplify the default project template

2013-01-28 Thread Jacob Kaplan-Moss
On Mon, Jan 28, 2013 at 3:54 PM, Aymeric Augustin wrote: > We regularly hear complaints about the default settings file. I've noticed > the following patterns: > > 1) Beginners > a) Frustration. They skim the comments, tweak the settings and it doesn't > work

Simplify the default project template

2013-01-28 Thread Aymeric Augustin
Hello, I know I'm treading in contentious territory, but -- I figured I'd try anyway :) We regularly hear complaints about the default settings file. I've noticed the following patterns: 1) Beginners a) Frustration. They skim the comments, tweak the settings and it doesn't work as

Re: Ticket #17093 -- quarantine global state in django.template

2013-01-28 Thread Aymeric Augustin
Hi Christopher, Some feedback below. > 2. This package has two kinds of global state. The first one are global > attributes defined at module level of template package. These are > base.builtins, base.libraries, loader.template_source_loaders and > base.templatetags_modules. The second one

Re: Viewsets

2013-01-28 Thread Bertrand Bordage
@Amirouche: Yes, sorry, I compared all django-composite instead of UrlCollections only... Also the model app_labels detection is only relevant for model based > UrlCollections and I think we should provide one feature at a time. In django-viewsets, this is a feature of ModelViewSet. The basic

Re: Ticket #17093 -- quarantine global state in django.template

2013-01-28 Thread Carl Meyer
Hello Christopher, Since I opened that ticket and sent you down this rabbit-hole, I can at least offer some thoughts :-) In full disclosure, I should also say that since opening the ticket I've had doubts about whether this change (although clearly an improvement in the abstract) is worth the

5 for 1?

2013-01-28 Thread peter
Not sure if this is still a thing, but i'd like to ask for a review of this ticket: https://code.djangoproject.com/ticket/13794 I triaged/reviewed the following tickets: #18201, #19668, #19663, #19617, #19624 -- You received this message because you are subscribed to the Google Groups

Ticket #17093 -- quarantine global state in django.template

2013-01-28 Thread Christopher Medrela
Hello everybody. 1. I'm working on ticket #17093 [1]. You can see progress of work at github [2]. It's about rewritting django.template so it won't use global state. I wrote this post to tell you what I did so far, what issues I deal with and to discuss them. I hope that we will gain valuable

db_type method for ForeignKey is buggy?

2013-01-28 Thread Michał Nowotka
Hello django developers! This is db_type method definition: def db_type(self, connection): rel_field = self.rel.get_related_field() if (isinstance(rel_field, AutoField) or (not connection.features.related_fields_match_type and

Re: please help

2013-01-28 Thread Satendra Tiwari
if u are sending email in this group, it is pretty obvious you are interested in using django for your project for a good understanding of how to use django in making projects i will recommend youto go through "Django 1.0 Web Site Development" by "Ayman Hourieh", this will help u in building base

please help

2013-01-28 Thread ABHINAV MISRA
I am Abhinav Misra, an undergraduate. I was going through the project ideas of GSoC 2012 so as to find any project of which I am capable of. There i came up with the project named: " improved error reporting ". I want to take this project as my GSoC 2013 project. Till now GSoC 2013 is not

Re: Viewsets

2013-01-28 Thread Anssi Kääriäinen
Let me explain my use case. I have some CRUD views for similarly behaving objects, and also some additional views (history view for example). The add, modify and delete views have shared logic. And of course, there is shared logic between the objects. So, I'd like to create a base generic view