Re: {% recurse %} Tag

2006-02-26 Thread Ivan Fedorov
Armin Ronacher ÐÉÛÅÔ: > Hiho :-) > > Yesterday I tried to implement a sitemap with jinja and i encountered a > missing tag :-) The {% recurse %} tag. > > So whats this all about? A small example is here: > http://wsgiarea.pocoo.org/trac/browser/jinja/trunk/unittests/tec/recurse.py > > The gener

Jinja Template Engine

2006-02-22 Thread Ivan Fedorov
What is Jinja? Jinja is a text-based template language similar to cheetah and Smarty. The syntax and parts of the code where taken from the django template. http://wsgiarea.pocoo.org/jinja/ --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: Magic - removal branch .. is the API stable yet?

2006-01-24 Thread Ivan Fedorov
Adrian Holovaty пишет: On 1/23/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: Is there any reason subtyping and field descriptors need to happen on magic-removal? Could we just test/merge magic-removal and create a new branch for those tasks? Is there anything else but those two tasks left?

Re: Proposal: Django should support unicode strings

2006-01-12 Thread Ivan Fedorov
Antonio Cavedoni пишет: >> The patch to #914 is just sitting there because there is no comment >> from the core devs on it - but I think we should do either the >> unicodefication or the patch from #914, with my preference being the >> unicodefication. > > > I’m +1 on the full unicodefication a

Re: Proposal: Django should support unicode strings

2006-01-10 Thread Ivan Fedorov
Maniac пишет: > > Ivan Fedorov wrote: > >> I think that Django should support(use only) python unicode strings. >> >> For example, at this time django can't capitalize russian strings, when >> site charset is utf-8... >> >> > There is a pat

Proposal: Django should support unicode strings

2006-01-10 Thread Ivan Fedorov
I think that Django should support(use only) python unicode strings. For example, at this time django can't capitalize russian strings, when site charset is utf-8...

Re: subdomain specific settings file - new idea

2006-01-07 Thread Ivan Fedorov
Daniel Poelzleithner пишет: > Amit Upadhyay wrote: > >>Hi, >> >>Wish you all a very happy and fruitful new year! >> >>Djando URL resolution causes some problem with applications hosted in >>different subdomains. Consider www.example.com >>and blog.example.com

Re: magic-removal table name pluralization

2006-01-07 Thread Ivan Fedorov
hugo пишет: >>expressing an opinion. See http://www.djangoproject.com/ >>documentation/contributing/#deciding-on-features for a bit more on >>how we use voting in the Django community. > > Actually rereading that stuff, I think it would be useful to have a > list somewhere where you list people

Re: magic-removal table name pluralization

2006-01-07 Thread Ivan Fedorov
Adrian Holovaty пишет: >>In the magic-removal branch most traces of automatic pluralization >>have been removed, but the table names are still pluralized by >>default. I don't think they should be. Is this just a change that's >>meant to happen, but hasn't yet? I seem to remember a thread where >

Re: Proposal: django.models.core/auth should be regular apps

2006-01-07 Thread Ivan Fedorov
Ian Holsman пишет: > Hi. > I'm using packages. > I think it is a good place to put stuff like package-specific preferences. > > ie.. the preference of the text markup you would like > (bbcode/markup/textile) is stored against the 'text' package. > > if you like delicious/furl/digg is stored ag

Re: Magic removal stuff...

2005-12-17 Thread Ivan Fedorov
Robert Wittams пишет: > The way that it works now, everything is standard python resolution, > object creation, with the single addition that attributes get to poke at > the class if they want to. > > Anyway, the following look perfectly reasonable and clear to me: > > class Something(Model): >

Re: Ditch pluralisation entirely

2005-11-24 Thread Ivan Fedorov
Eugene Lazutkin пишет: > "Simon Willison" <[EMAIL PROTECTED]> wrote > in message news:[EMAIL PROTECTED] > >>Pluralisation is a nice idea in theory, but in practise it causes more >>problems (in terms of confusion over whether something is singular or >>plural) than it solves. > > > +1 >

Re: new-admin branch vs. FCGI

2005-11-21 Thread Ivan Fedorov
Robert Wittams пишет: > This seems very strange. All that flatten_data should do here is convert > the fields of the object to a database... How did you work out that this > is where it sleeps? I'm try to add "raise PermissionDenied" before and after this string. Before it works fine. After - not

Tree structure

2005-11-20 Thread Ivan Fedorov
I'm need to manage catalog of products in my site with multilevel structure. How can I'm create model, which can have parents of same type as model?.. something like that: class Category(meta.Model): name = meta.CharField(maxlength=500) parent = meta.ForeignKey(Category) def __rep

new-admin branch vs. FCGI

2005-11-20 Thread Ivan Fedorov
I'm have a problem when using django new-admin branch with FastCGI. Admin site is unusable. When I'm try to add(change is ok) new flatpage, django dies... it connects to pgsql, locks something and do nothing... :( With mod_python and devel server all ok. But my hosting provider can't install a