it appears that my user's passwords are stored in plaintext in the
control panel. for example, as an admin, i can go through and see
their plaintext passwords. is there a way to hide them?
Thanks,
- Steve
--~--~-~--~~~---~--~~
You received this message because yo
" in
templates. I knew that implicit behavior would upset me someday :P I
guess thats why we usually prefer explicit over implicit.
- Steve
On 11/27/06, Steve Wedig <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am using multiple inheritance on a model. I'm just subclassing
Hello,
I am using multiple inheritance on a model. I'm just subclassing Model
and subclassing a class that acts like a mixin. The mixin only adds or
overrides methods.
Anyway, this works fine with the python api, but is causing problems
inside a template. When inside a template, I get an error i
I feel like this is a simple question, yet I haven't been able to
solve it at 5am :)
I'm trying to delete through a cursor like this:
from django.db import models, connection, transaction
cursor = connection.cursor()
cursor.execute( query )
But it appears to not be committing. I su
, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2006-10-27 at 00:06 -0700, Steve Wedig wrote:
> > I'm interested in returning a Null (empty) query set. I guess this is
> > like the Null Object pattern. So it has to be a QuerySet implements
> > the interf
Hello,
I've got a list of items that I'm passing to a template. For every
item, I'd like to render it as "object" in another template. Is this
or something like this possible?
it would look something like this...
T1
{% for object in object_list %}
{% apply "t2.html" object %}
{% endfor
I'm interested in returning a Null (empty) query set. I guess this is
like the Null Object pattern. So it has to be a QuerySet implements
the interface (.count, .all, etc) that always returns nothing.
Does anyone know how to do this?
Thanks!
- Steve
--~--~-~--~~~---~
oreignKey( Thread )
location = models.ForeignKey( Location)
# using the function
Location.threads = property( span_table('location', 'thread',
LocationThread, Location, Thread) )
so now myLocation.threads returns a query set
Best,
- Steve
On 10/16/06, Steve Wedig <[E
set = property(thread_set)
class GroupThread(models.model): # m-1 relationship
thread = models.OneToOneField( Thread )
location = models.ForeignKey( Location)
Thanks,
Steve
On 10/16/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2006-10-16 at 02:44 -0700, S
I have a thread model that I would like to reuse in multiple places.
So a thread should have no knowledge of where it is contained.
I also have a group model and a location model. I would like to have
multple threads in a group (1-n reln between group and thread). I
would also like threads to app
** Here is the general question **
How can I use a ChangeManipulator to validate a subset of a model's fields.
** Here is the specific situation **
I am using django.contrib.auth.models.User for my user accounts. I
would like to create a change/edit form that lets the user change just
their email
I learned python by reading o'reilly's learning python over a weekend,
and thought it was good introduction. Haven't seen the other intro
books.
You must have o'reilly's cookbook. It teaches you how to use the
language like a ninja.
I use o'reilly's nutshell book for quick references, however my
Hello,
This may be a rudimentary question, sorry if is...
I would like to use the generic create_object view, but populate a
hidden form field with a location_id argument which is extracted from
the url. I've tried this url pattern below, but get this error:
create_object() got an unexpected key
13 matches
Mail list logo