On Sat, Oct 16, 2010 at 1:31 PM, Yo-Yo Ma wrote:
> Łukasz Rekucki,
>
> Thanks for the reply. I wasn't being cynical when I said:
>
> > If the API for this feature was not so intrinsically
> > obscure, it might be a more obvious choice to include it right away,
>
> What I meant was the design and
Łukasz Rekucki,
Thanks for the reply. I wasn't being cynical when I said:
> If the API for this feature was not so intrinsically
> obscure, it might be a more obvious choice to include it right away,
What I meant was the design and implementation creates an unusable API
by default. This is a sig
Hi SmileChris and Lukasz:
It's true that with this proposal the load of templates depends of the order
of on which the templates are loaded. But it's is something that the project
manager should controlled. But the usual is that you only overwrite only one
time a template (although it work with an
2010/10/15 Andy McCurdy
> We are in complete agreement ;)
>
Thanks for the clarification ;)
>
> 2010/10/15 J. Pablo Martín Cobos
>
>> Hi Andrew,
>>
>>
>> I think you agree with me in all. Thank you very much for your long
>> e-mail. I think you have explain the problem better than me. To use
On Oct 16, 8:35 am, Łukasz Rekucki wrote:
> Which "x.html" should be chosen ? the one from admin or the one from
> external app "A" ? Both are valid uses. There is a dangerous
> temptation to say "next that would be loaded after this", but that
> depends on loaders and application order - lets do
We are in complete agreement ;)
2010/10/15 J. Pablo Martín Cobos
> Hi Andrew,
>
> I think you agree with me in all. Thank you very much for your long e-mail.
> I think you have explain the problem better than me. To use the urls for
> overwrite the templates "leads terrible looking URL", it's re
2010/10/15 Łukasz Rekucki
> 2010/10/15 J. Pablo Martín Cobos :
> >
> > Really the problem comes when we reuse a application: from other people,
> > from Django (i.e. django.contrib.admin), or even my own that we reuse in
> > some projects. Usually you want to change slight things and usually you
On 15 October 2010 21:40, Yo-Yo Ma wrote:
> My strong suggestion (again prima facie to this discussion) is:
>
> Do not include something as controversial into the trunk, especially
> with the justification of, "There are quite a few sets of class-based
> views out there".
That section probably ne
2010/10/15 J. Pablo Martín Cobos :
>
> Really the problem comes when we reuse a application: from other people,
> from Django (i.e. django.contrib.admin), or even my own that we reuse in
> some projects. Usually you want to change slight things and usually you want
> only to change the visualizatio
On Oct 16, 2:09 am, Andrew Godwin wrote:
> So, from what I can work out, this is a proposal for an {% extends %}
> tag which allows you to extend from the parent template of the same name
Just to chime in, I like this proposal.
IMO: If a designer wants to override a third party's template (by
al
I so hope this response was the result of some translation gone wrong.
If not, you shouldn't really expect anyone to answer your (highly off-
topic) question with that attitude...
On Oct 15, 7:56 pm, kostia wrote:
> Give me the answer and do what you want.
>
> On Oct 15, 8:45 pm, Alex Gaynor wro
My strong suggestion (again prima facie to this discussion) is:
Do not include something as controversial into the trunk, especially
with the justification of, "There are quite a few sets of class-based
views out there". If the API for this feature was not so intrinsically
obscure, it might be a m
Hi Dougal,
Of course this have many advantages for front end developers and designers.
But please we must not do "full copy and paste of the original template".
This is the finallity of the project.
The template code is nearly so important as view code.
Regards,
--
Pablo Martín
2010/10/15 Dou
Hi Andrew,
I think you agree with me in all. Thank you very much for your long e-mail.
I think you have explain the problem better than me. To use the urls for
overwrite the templates "leads terrible looking URL", it's really true.
If you don't think you agree with me in all, please tell me. Beca
Hi Harro,
This templatetag is different that the one you implemented. I don't feel
dirty :-P
Regards,
--
Pablo Martín
2010/10/15 Harro
> I wrote an extends tag once that changed the extending template based
> on a get variable..
> The idea was that we could then simply get a part of the web
Hi luke,
Thanks in advance, but of course I have seen this wiki, but I had wrotten in
my first e-mail I needed and wanted more funcionallity. I think we have to
change a little the inheritance of templates, this wiki is from 2008, so I
think it's possible to add new funcionality.
It would be very
Hi Andrew,
I think that in my first e-mail I didn't explain well the problem. Really it
was a difficult for me explain it even in spanish with my workmate, but at
the end they all agree with me.
Really the problem comes when we reuse a application: from other people,
from Django (i.e. django.cont
I can see one main use case. Front end developers and designers would be
able to extend templates without worrying about python code changes or doing
a full copy and paste of the original template (if they can find it.)
Dougal
On 15 Oct 2010 14:10, "Andrew Godwin" wrote:
> On 15/10/10 13:41, J.
Give me the answer and do what you want.
On Oct 15, 8:45 pm, Alex Gaynor wrote:
> On Fri, Oct 15, 2010 at 1:38 PM, kostia wrote:
> > I have xml file:
> >
> >
> > 5
> >
>
> > I want to get the value of n (= 5) inside my python program, I'm
> > doing this:
>
> > import xml.dom.mi
On Fri, Oct 15, 2010 at 1:38 PM, kostia wrote:
> I have xml file:
>
>
> 5
>
>
> I want to get the value of n (= 5) inside my python program, I'm
> doing this:
>
> import xml.dom.minidom
> from xml.dom.minidom import Node
> doc = xml.dom.minidom.parseString("boolean_width.xml")
>
I have xml file:
5
I want to get the value of n (= 5) inside my python program, I'm
doing this:
import xml.dom.minidom
from xml.dom.minidom import Node
doc = xml.dom.minidom.parseString("boolean_width.xml")
n = doc.getElementsByTagName("root")[0].firstChild.nodeValue.strip()
pr
On Fri, Oct 15, 2010 at 1:09 AM, Justin Lilly wrote:
> Because you asked, I think this sounds like a great idea.
>
> When you have decided you like the API for create/update
> views, please send another email to the list, so that we
> know we've hit a stable API to write documentation
> against.
On Fri, Oct 15, 2010 at 6:09 AM, Andrew Godwin wrote:
> So, from what I can work out, this is a proposal for an {% extends %} tag
> which allows you to extend from the parent template of the same name (so it
> looks back in the list of possible templates, and picks the one that comes
> before you
I wrote an extends tag once that changed the extending template based
on a get variable..
The idea was that we could then simply get a part of the website in a
lightbox popup without all the "outer content".
I removed it afterwards and we did it properly.. it felt dirty.
On Oct 15, 3:29 pm, Luke P
Jonathan, I don't know if this is the proper place to post this, unless
you are looking to have it added to core. I have a feeling core
contributors are going to chime in and say this more than likely belongs the
in django-users mailing list. When you post it there though, I for one
think this
Hi all,
At my current job, I spent a week of programming on a preprocessor for
Django templates.
In short, what it does is compiling the templates in a more compact
version, dropping all useless information and preprocessing
templatetags where possible. The Apache benchmark tools showed a page
loa
On 15/10/10 14:52, Ian Lewis wrote:
On Fri, Oct 15, 2010 at 2:06 PM, Russell Keith-Magee
mailto:russ...@keith-magee.com>> wrote:
However, this isn't a decision we need to make right now. If we land
what we have, we can fiddle with it until the RC comes out; if we are
getting to tha
Good Morning!
I am looking for Django/Python developers to join the team of one our
clients working on one of the largest Django apps EVER - scaled to
serve web,mobile, and more for 100+ prominent newspaper, TV, and radio
sites! There are 3-5 job openings and they are looking for someone who
can h
On Fri, Oct 15, 2010 at 2:06 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> > There is this crazy idea im my mind to mark CBVs API as
> > "Beta" in 1.3 and put a big warning in the docs that it can change in
> > backwards-incompatible was in 1.4. A precedence to this would be
> > `d
On Fri, 2010-10-15 at 14:41 +0200, J. Pablo Martín Cobos wrote:
> To perform something like this, we should copy all the change_list
> template (i.e. 100 lines of code), in order to add this two changes.
Have you seen http://code.djangoproject.com/wiki/ExtendingTemplates ?
Thanks,
Luke
--
"I
On Fri, 2010-10-15 at 00:19 +0800, Russell Keith-Magee wrote:
> Unfortunately, the 1.3 alpha deadline is Monday. Over the next couple
> of days, I intend to finish my audit of edit and date views, and make
> a start on at least reference documentation, but it's highly unlikely
> I'm going to get a
On 15/10/10 13:41, J. Pablo Martín Cobos wrote:
Hi,
I'm a Django developer since more or less 3 years. Some time ago I had
the need for the extends templatetag to have more funcionality.
The funcionality I mean is that a template can extends from "itself".
I'm going to try to explain it bett
On Fri, Oct 15, 2010 at 8:30 PM, David De La Harpe Golden
wrote:
> On 15/10/10 07:11, Russell Keith-Magee wrote:
>
>> We're happy to entertain design suggestions, but only if they're
>> enlightened by the extensive discussions that have proceeded the
>> implementation that we have. You're free to
Hi,
I'm a Django developer since more or less 3 years. Some time ago I had the
need for the extends templatetag to have more funcionality.
The funcionality I mean is that a template can extends from "itself". I'm
going to try to explain it better, so I will put Django admin as an example,
althoug
On 15/10/10 07:11, Russell Keith-Magee wrote:
> We're happy to entertain design suggestions, but only if they're
> enlightened by the extensive discussions that have proceeded the
> implementation that we have. You're free to say "as_view() sucks", but
> unless you are proposing an *specific* alte
Maybe not important but makes bit harder to find in it trac :)
Russ there is a typo in subject, ticket id is #6735, not 6375.
On Fri, Oct 15, 2010 at 8:11 AM, Russell Keith-Magee
wrote:
> On Fri, Oct 15, 2010 at 1:59 PM, Yo-Yo Ma wrote:
>> I realize this is a bit late and not even the "right" d
36 matches
Mail list logo