On Aug 18, 11:57 am, Javier Guerra wrote:
> On Tue, Aug 18, 2009 at 11:49 AM, Sydney Weidman wrote:
> > I'm moving some Django applications that used to be served from the
> > root of the site to a sub-URL like /apps. Do I have to change every
> > template that contains
Hi!
I'm moving some Django applications that used to be served from the
root of the site to a sub-URL like /apps. Do I have to change every
template that contains a reference to /app1/blah to /apps/app1/blah in
every template? Is there a centralized/better/prescribed way to do
this?
- Syd
--~--
I am working on an application which needs to work like so:
A user enters search criteria in a search form and when submit is
clicked, if any records match the criteria, the user is taken to the
first record in the results set. The user can click "Next" to go to
the next record in the result set,
I have a model that requires browsing previous and next records by a
user-supplied integer value. What is the best way to handle this type
of requirement? I suppose I could do a query that looked up records
with a value less/greater than the current value with a LIMIT 1 clause
or something like th
If I remember correctly, you'll see the file listing if you don't have
handlers set properly for the location. What is in your httpd.conf or
virtual host config file for the htdocs directory?
I'm assuming you've looked at:
http://www.djangoproject.com/documentation/modpython/
- syd
On Aug 27,
On Jul 23, 11:07 am, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> Hi there!
>
> I haven't been able to find this documented anywhere (and I'll kindly
> apologize if there actually *is* some doc about it), and thought I'd
> turn to you guys ;)
>
> I'd like to override a model's save() method in orde
I don't think there are pre-made components that will provide you with
all of those things, and being somewhat new to django I can only point
you to one bit of documentation and code that I found helpful for
pagination:
http://code.djangoproject.com/wiki/PaginatorTag
Regards,
Syd
On Jul 23, 7:3
7 matches
Mail list logo