Database API

2006-05-09 Thread wizeman
Hi. I have the following model: class User(models.Model): id_user = models.AutoField(primary_key = True) username = models.CharField(maxlength = 30, unique = True, null = True) name = models.CharField(maxlength = 50, unique = True) class Meta:

Include tag only works inside a block tag?

2006-05-08 Thread wizeman
Hi, I'm having a problem with the template {% include .. %} tags. I'm using the svn trunk. Here's a simplified version of what I'm trying to do: base.html - http://www.w3.org/1999/xhtml;> ... (basic common css) {% block extra_css %}{% endblock %} {% block jscript

Re: Django in Boo

2006-03-03 Thread wizeman
Jeremy Dunck wrote: > IronPython -is- Python, runs on .Net, and is coming along nicely. Yes, IronPython is also cool. You know when you look at something and you say - wow, this is a great idea and it would be great if everyone realizes that? I had that feeling with Python right away, but only

Re: Django in Boo

2006-03-03 Thread wizeman
Ok, I was thinking more in an academic perspective instead of a real-world one. Think about it. Python was an esoteric language in the beginning. And Boo isn't that esoteric, it can be thought of as an extension to the Python syntax. And virtually all .NET libraries can be used in Boo, it runs

Django in Boo

2006-03-03 Thread wizeman
Hi. I'm just starting to use Django and I'm loving it. Don't you think it would be great if Django was ported to Boo ( http://boo.codehaus.org/ ) ? If you don't know Boo, here are some of the main features: - Python-like syntax - Power of static typing with the ease-of-use of type inference -