Re: Tool recommendations

2008-02-03 Thread Nikola Stjelja
Use Django. It's fast to learn, its stable with a vibrant community, excellently documented and easy to use. On Feb 4, 2008 7:54 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I don't know web programming, Java or SQL, but I have lots of other > programming experience, including in C++,

Re: template variables

2007-10-13 Thread Nikola Stjelja
ason most experienced php developers adopt one templating system, or the other(or write their own as I did). I think djangos templating system is nice and clean, and thats the best compliment a ts can receive in my opinion. 2007/10/13, Nikola Stjelja <[EMAIL PROTECTED]>: > > >

Re: template variables

2007-10-13 Thread Nikola Stjelja
On 10/13/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > On 10/13/07, Goon <[EMAIL PROTECTED]> wrote: > > fair enough, I'm not happy that I can't get {{for x in y[1:5]}} What's the problem. You just send the template 'y':range(1,6). It's very simple. I don't think the template system should

Re: Newforms problem, my mistake or bug

2007-10-12 Thread Nikola Stjelja
Got it, thnx. On 10/12/07, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > > It's your bug. You've written "from django.newforms import *" but use > "forms.Form". Where did you import "form" module? Read the docs and > think. > > > > > -- Please visit this site and play my RPG!

Newforms problem, my mistake or bug

2007-10-12 Thread Nikola Stjelja
In my quest to learn Django, I've encountered yet another problem. I tried to automaticly generate a form using the newforms model. It didn't work.Django outputted en error, that the model object didn't have the attributre EmailField. The I tried copy pasting the example form the django

Re: Serving static media on the development server

2007-10-10 Thread Nikola Stjelja
Thank you Tylan your solution worked. Here is the correct url pattern (r'^assets/(.*)$', 'django.views.static.serve', {'document_root': 'c:/python_programi/cms/assets'}), I made a mistake in the regular expression, plus I've changed the directory name from media to assets. Blame it on my poor

Re: Serving static media on the development server

2007-10-10 Thread Nikola Stjelja
On 10/10/07, cschand <[EMAIL PROTECTED]> wrote: > > > You want add the style sheet still.css on admin control panel or > application? To an application. It be really helpfull if you have an idea what i've done wrong. :) On Oct 10, 11:21 am, "Nikola Stjelja" <[E

Serving static media on the development server

2007-10-10 Thread Nikola Stjelja
i'm a noob in Django, and I'm currently learning it. I tried to use style sheets from an external css file but it didn't work. I copyed the code from the djagno documentation page, I followed all the instructions but every time I run a page insted of a nice green background i get this: Page not