n
cls = sender
cls.add_to_class('AddManipulator', AutomaticAddManipulator)
cls.add_to_class('ChangeManipulator', AutomaticChangeManipulator)
"""
-
On Apr 6, 12:54 pm, "Mark
in the URL and it kind of assumes all the other data is
valid. It's very hacky -- I'm using it in one application where there
was no other choice, but I hate it as a solution.
On Apr 6, 12:22 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-04-05 at 21:12 -07
I'm trying to figure out the best way to validate a unique_together
constraint. The relevant parts of the model are here:
--
class Thesis(models.Model):
thesis_name = CharField('Thesis Name', maxlength=50,
core=True, validator_list=[???])
Anyone know of the recommended way to set up user-specific content,
where each user (except the admin) would see only his content,
regardless of the view being used to access it? Assume that content
is associated with users via the threadlocals method (http://
code.djangoproject.com/wiki/CookBook
4 matches
Mail list logo