Re: Beginner a bit lost - need some pointers please

2011-10-07 Thread Chris G
On Fri, Oct 07, 2011 at 11:40:03AM +0100, Chris G wrote: > On Fri, Oct 07, 2011 at 11:47:49AM +0530, kenneth gonsalves wrote: > > On Thu, 2011-10-06 at 10:00 +0100, Chris G wrote: > > > > this is as simple as it gets > > > > https://bitbucket.org/lawgon/django-a

Re: Beginner a bit lost - need some pointers please

2011-10-07 Thread Chris G
On Fri, Oct 07, 2011 at 11:47:49AM +0530, kenneth gonsalves wrote: > On Thu, 2011-10-06 at 10:00 +0100, Chris G wrote: > > > this is as simple as it gets > > > https://bitbucket.org/lawgon/django-addition/overview > > > > Too simple for me, it doesn't run

Re: Beginner a bit lost - need some pointers please

2011-10-06 Thread Chris G
On Thu, Oct 06, 2011 at 10:09:05AM +0100, Cal Leeming [Simplicity Media Ltd] wrote: >Chris - >The only thing I can say, is that you've been given some really good >advice on this thread so far. Yes, I'm not complaining at all, the feedback has all been very helpful. I'm just rather im

Re: Beginner a bit lost - need some pointers please

2011-10-06 Thread Chris G
On Thu, Oct 06, 2011 at 01:14:37AM -0700, Daniel Roseman wrote: > On Wednesday, 5 October 2011 20:55:33 UTC+1, Chris Green wrote: > > I'm an experienced programmer (started around 1971 or so!) and I've done > lots of things over the years, much of my background is in Unix > (So

Re: Beginner a bit lost - need some pointers please

2011-10-06 Thread Chris G
On Thu, Oct 06, 2011 at 11:01:13AM +0530, kenneth gonsalves wrote: > On Wed, 2011-10-05 at 23:02 +0100, Chris G wrote: > > OK, so there isn't a single simple answer. However it would still be > > really nice to see a complete two or three page django site with a > >

Re: Beginner a bit lost - need some pointers please

2011-10-05 Thread Chris G
On Wed, Oct 05, 2011 at 04:35:49PM -0400, Peter Herndon wrote: > > On Oct 5, 2011, at 3:55 PM, Chris G wrote: > > > > However two rather basic things still elude me:- > > > >Where/how do I actually start creating the top level/page of a web > >site?

Re: Beginner a bit lost - need some pointers please

2011-10-05 Thread Chris G
On Wed, Oct 05, 2011 at 03:02:13PM -0500, Javier Guerra Giraldez wrote: > On Wed, Oct 5, 2011 at 2:55 PM, Chris G wrote: > > I'm trying to get my mind round django.  I have it installed on my > > unbuntu server, it works, I've worked through tutorials 1 and 2 and a >

Re: Beginner a bit lost - need some pointers please

2011-10-05 Thread Chris G
On Wed, Oct 05, 2011 at 11:02:03PM +0300, Yaşar Arabacı wrote: >This documentation goes over deployment of >django: [1]https://docs.djangoproject.com/en/1.3/howto/deployment/ > Ah, brilliant, thanks, that certainly answers my question about how to use it with apache. -- Chris Green --

Re: Beginner a bit lost - need some pointers please

2011-10-05 Thread Chris G
On Wed, Oct 05, 2011 at 08:58:10PM +0100, Cal Leeming [Simplicity Media Ltd] wrote: >Hi Chris, >I'm assuming that you don't have any experience with Python?? No/yes, I *do* have Python experience, it's my language of choice for scripts which require a bit more than basic shell scripting.

Beginner a bit lost - need some pointers please

2011-10-05 Thread Chris G
I'm an experienced programmer (started around 1971 or so!) and I've done lots of things over the years, much of my background is in Unix (Solaris). In the last few years I have done quite a lot of web related stuff. I'm trying to get my mind round django. I have it installed on my unbuntu server,

Re: Simple input forms which show more than one row - easy/possible in django?

2011-10-05 Thread Chris G
On Wed, Oct 05, 2011 at 03:13:08PM +, Brett Epps wrote: > Hi Chris, > > Once you've defined a model for your data, you can use a ModelForm [1] to > automatically generate a form for that model. > > You might also want to check out the admin site [2], which displays data > in a tabular format

Simple input forms which show more than one row - easy/possible in django?

2011-10-05 Thread Chris G
I want to create a simple data entry form on a web page that shows all the columns of a database across the page (there aren't many columns, they will fit!) and a number of rows down the page. I.e. I want a data entry form that looks like MS Access 'tabular' format, as follows:- Col1Row1C

Re: low-level cache & pagination

2007-11-30 Thread Chris G
Alright, I think I answered my own question. It seems the current RequestContext is a little messed up and not only requests cache to be remade, but also crashes runserver upon more than 1 request. On Nov 30, 7:26 pm, Chris G <[EMAIL PROTECTED]> wrote: > I have a large query that i

low-level cache & pagination

2007-11-30 Thread Chris G
I have a large query that is ran and takes about 50 seconds to completely and is pretty resource intensive. So what I have done is cached it into a key via cache.set('my_query_results', results, 300) The problem is that I also use pagination which results from this query. So when navigating to ?p