Re: Can you add a build-in template tags?

2009-10-18 Thread butterhuang
你好! pay attention: SSI ... “which must be specified using an absolute path -- in the current page it's not good for migrating. 谢谢!(thanks!) On 10月19日, 上午1时26分, dc wrote: > Please read > documentationhttp://docs.djangoproject.com/en/dev/ref/templates/builtins/#ssi

Jogging: my take on 1.2 logging

2009-10-18 Thread Zain Memon
I was inspired by all the logging discussions lately, so I wrote a wrapper for Python's logging module called jogging: http://github.com/zain/jogging My implementation looks a lot like the ideas proposed in the logging thread, so jogging might be useful to (at least) test out those ideas. I'd

Re: Continuous Integration command

2009-10-18 Thread Dougal Matthews
2009/10/18 Dougal Matthews > > It had been discussed recently; > http://groups.google.com/group/django-developers/browse_thread/thread/825b6a1b676f24ed/c54aa0fd48ed7b8c?hl=en=gst=failed#c54aa0fd48ed7b8c > Link fail. This one will work better;

Re: Continuous Integration command

2009-10-18 Thread Dougal Matthews
2009/10/18 Anssi Kaariainen > > > Is it possible to autorun only the failing tests? It would be very > useful (at least for me) if the following was supported > No. Not yet anyway... It had been discussed recently;

Re: Continuous Integration command

2009-10-18 Thread Anssi Kaariainen
On Oct 18, 8:08 pm, berto wrote: > Sounds like you're interpreting what I'm looking as a feature, a > bug.  :)  I want to write tests and see them fail continually until I > have written the code that makes them pass. Is it possible to autorun only the failing

Re: Can you add a build-in template tags?

2009-10-18 Thread dc
Please read documentation http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ssi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Continuous Integration command

2009-10-18 Thread berto
On Oct 18, 7:24 am, Russell Keith-Magee wrote: > On Sun, Oct 18, 2009 at 6:14 PM, berto wrote: > > > On Oct 17, 5:33 pm, Russell Keith-Magee > > wrote: > >> I'd like to fix this problem, but while this problem exists,

Re: Can you add a build-in template tags?

2009-10-18 Thread Tobias McNulty
On Sun, Oct 18, 2009 at 12:18 PM, butterhuang wrote: > There is a templatetags {% include 'x.html' %}, it's very nice.  may a > templatetags like {% include no-parse "x.html"} is needed. It's so > powerful to improve the speed of include some static files which has > no

Can you add a build-in template tags?

2009-10-18 Thread butterhuang
There is a templatetags {% include 'x.html' %}, it's very nice. may a templatetags like {% include no-parse "x.html"} is needed. It's so powerful to improve the speed of include some static files which has no variable,and it's so easy for you guys, isn't it?

Re: Proposal for 1.2: Improved URL system

2009-10-18 Thread oli...@rutherfurd.net
Hi LeafStorm, On Oct 18, 6:52 am, Jannis Leidel wrote: > Hi LeafStorm, > > > Okay, I guess I can live with that. Maybe, if I can write a patch > > implementing this in a completely backwards-compatible way, I'll > > propose it again for a later version (earlier in the

Re: Looking for a solid django/python developer...

2009-10-18 Thread Jacob Kaplan-Moss
Hi Sanford -- This is the wrong place for a posting like this -- django-developers is for discussion of core Django development. You'll be better off posting this to django-users and/or djangogigs.com. Good luck! Jacob --~--~-~--~~~---~--~~ You received this

Re: ANN: Critical security updates to Django 1.0 and Django 1.1

2009-10-18 Thread Stuart Jansen
On Sat, 2009-10-17 at 04:40 -0700, klas.hagg...@hotmail.com wrote: > How come the new regular expression allows TLDs to end with a '.' > character? For example 'n...@domain.com.' (note the period at the end) > is regarded as a valid email address. Perhaps because it is a valid domain name?

Re: Continuous Integration command

2009-10-18 Thread Thomas K. Adamcik
On Sat, Oct 17, 2009 at 09:59:38AM -0700, berto wrote: > I wanted to be able to run a project's test suite in the same manner > runserver restarts when a file is changed. I did not find this > feature in Django so I wrote the following code: Have you looked at http://github.com/lacostej/nosyd

Re: Continuous Integration command

2009-10-18 Thread Russell Keith-Magee
On Sun, Oct 18, 2009 at 6:14 PM, berto wrote: > > On Oct 17, 5:33 pm, Russell Keith-Magee > wrote: >> I'd like to fix this problem, but while this problem exists, adding a >> continuous integration server that crashes every time the developer

Re: Proposal for 1.2: Improved URL system

2009-10-18 Thread Dougal Matthews
2009/10/18 Maxim Penzin > > Another crazy idea for shorter object fetch is > "/%(model_name.id)d/" or may be another syntax like "/%%(model_name)/" > to get rid of > get_object_or_404( id=int(id) ) > at the first line of every view method. > I quite like this idea, not

Re: AddWYSIWYGEditor

2009-10-18 Thread Russell Keith-Magee
On Sun, Oct 18, 2009 at 8:28 PM, diover wrote: > > How I can use any AddWYSIWYGEditor  in Django? Django-developers is a mailing list for discussing the development of Django itself. General questions of usage or problem solving should be directed to django-users. Yours,

AddWYSIWYGEditor

2009-10-18 Thread diover
How I can use any AddWYSIWYGEditor in Django? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from

Re: Proposal for 1.2: Improved URL system

2009-10-18 Thread Maxim Penzin
> My proposal is to add a URL resolution system on top of the current > one [for backwards compatibility] that works in a similar way to > Werkzeug's URL resolver. You express URL patterns in a syntax like '/ > /' (where the first 'slug' is a converter and the second > 'slug' is the name to be

question on how django handles nested if blocks

2009-10-18 Thread raf...@gmail.com
I'm trying to get a feel for how the template system works, but something is confusing me regarding nested blocks. Lets say we have a simple template: {% if foo %} hello {% if bar %} bye {% endif %} {% else %} {% endif %} Seems like the lexer would produce the following

Re: Proposal for 1.2: Improved URL system

2009-10-18 Thread Jannis Leidel
Hi LeafStorm, > Okay, I guess I can live with that. Maybe, if I can write a patch > implementing this in a completely backwards-compatible way, I'll > propose it again for a later version (earlier in the release cycle). In the meantime you might want to have a look at Surlex, Cody Soyland's

Re: Continuous Integration command

2009-10-18 Thread berto
On Oct 17, 5:33 pm, Russell Keith-Magee wrote: > On Sun, Oct 18, 2009 at 12:59 AM, berto wrote: > > > Hello developers, > > > I wanted to be able to run a project's test suite in the same manner > > runserver restarts when a file is changed.  

Re: #9886: HttpRequest refactoring

2009-10-18 Thread Ivan Sagalaev
Russell Keith-Magee wrote: > Any complete feature is potentially a candidate for > v1.2 - as long as you can convince a core developer to look into the > ticket. This is what I'm trying to do, yes :-). The ticket is assigned to Malcolm (and in fact it was created after we talked with him if