Re: URL encoding, templates and apps: are apps not portlets?

2012-04-02 Thread Tom Evans
On Sun, Apr 1, 2012 at 9:20 PM, Alexandros Karypidis wrote: > Hi, > > My fondness of Python (while scripting things for work) grew to the point > where I decided to try web development with it. Having (apparently) nothing > better to do on a Sunday afternoon, I went through the

Re: URL encoding, templates and apps: are apps not portlets?

2012-04-01 Thread Alexandros Karypidis
So, having discovered how to extend the context of a generic view, I've now managed to make things a bit more self-contained: 1) In polls.urls add a name for the index page (just like for the 'poll_results' case) -- urlpatterns = patterns('', # ... name='poll_index'), 2)

URL encoding, templates and apps: are apps not portlets?

2012-04-01 Thread Alexandros Karypidis
Hi, My fondness of Python (while scripting things for work) grew to the point where I decided to try web development with it. Having (apparently) nothing better to do on a Sunday afternoon, I went through the Django tutorials. The tutorial goes to some length to keep the "polls" app