Another +1 for decorators. In fact, the example David S uses
authentication and logins as an example of what he wants to do and its
already handled as a decorator thus giving him a decent pattern to
follow. David S, I'd suggest you look up the @login_required
decorator and even look through the
#x27;ll get to be the person who
influences what gets used in various situations. It's in those
situations that you'll get to grab your favorite tool: Django.
Jon Loyens
Thinktiv, Inc.
On Jan 11, 1:14 am, Malcolm Tredinnick
wrote:
> On Sat, 2009-01-10 at 15:38 -0700, David Lindquis
Hi all,
I have a sight where I need to generate forms that are made up of two
or three other forms. For example I have New User sign up form that
accepts user information (user name, name, password), a shipping and a
billing address (with the same usual field) and credit card info.
Sometimes, I
Thanks guys! Using multiple forms + prefixes is exactly what I need!
Would be nice if there was some global wrapper though so you could do
validation amongst the forms but beggars can't be choosers.
On Aug 23, 2:28 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Aug 23, 2:33 am, Jeff Anderso
Hi guys,
I have a small project coming up that I think having some sort of
schema evolution facilities will be handy on. I was wondering what
the current and best project choices for schema evolution are? I was
leaning towards django-evolution until I saw a post from Russell
saying that he hadn
See the following set of models:
class Mom(models.Model):
name = models.CharField(max_length=80)
def __unicode__(self):
return self.name
class Dad(models.Model):
name = models.CharField(max_length=80)
def __unicode__(self):
return self.name
class Child(models.M
As a note... I've worked around this for the time being by setting
cascade on delete explicitly in db. That said, I'd still like to know
if this is a bug or if I'm doing something wrong with my models.
Jon.
On Oct 9, 11:28 am, Jon Loyens <[EMAIL PROTECTED]> wrote:
>
m, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-10-09 at 09:28 -0700, Jon Loyens wrote:
>
> [...]
>
> > Is this a bug I'm seeing or am I missing something in either my models
> > or configuration? Or do I not understand how ForeignKeys where
> >
Alex, would you mind posting your complete template at dpaste.org for
us to look at? It might clarify how you're trying to do the output.
Thanks,
Jon.
On Feb 2, 11:37 pm, Alexiski wrote:
> > On Mon, 2009-02-02 at 21:21 -0800, Alexiski wrote:
> > > Hi Malcolm,
>
> > > Thanks for your response,
Oops... I meant dpaste.com
On Feb 3, 8:54 am, Jon Loyens wrote:
> Alex, would you mind posting your complete template at dpaste.org for
> us to look at? It might clarify how you're trying to do the output.
>
> Thanks,
>
> Jon.
>
> On Feb 2, 11:37 pm, Alexiski wrot
Hi everyone (particularly those working on multidb),
I have a pretty simple use case that involves use of multidb support
and I was wondering if the code base for multidb is far enough along
to help me out on this. Basically, I have a legacy enterprise db that
I've created working models for usi
Hi all,
I'm working on an application where a user has an a special number
assigned to them. This account number must be editable both by the
user and in admin. I want the number to be obfuscated in the form
when it is initially displayed but then when overwritten by a customer
service rep (in
Check that the localizations got installed when you installed .96.
This was a problem I had... the installer didn't install the admin
templates or any of the localization files and I had to copy them in
manually.
Jon.
On Apr 20, 10:53 am, sinker <[EMAIL PROTECTED]> wrote:
> Switching to trunk WO
Hi everyone,
I've got a problem and I don't even know where to start debugging
it... there seems to be a difference between the way my app is
behaving between my local environment and my deployment environment.
Hopefully you guys can give me some idea where to start.
I've written a small PR appl
Problem solved. Just need to copy in my local version of Django
On Jul 7, 6:29 pm, Jon Loyens <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I've got a problem and I don't even know where to start debugging
> it... there seems to be a difference between the way my
15 matches
Mail list logo