On Sat, 2006-06-24 at 13:59 +0100, Frankie Robertson wrote:
[...]
>
> I have another, smaller related problem with urls.
> I can't do this
> (r'^blogs/([_A-Za-z0-9-]+)/', include('bloghost.blog.urls')),
> because then the captured bit after blogs doesn't go anywhere.
> I have to do this:
> ..
> (
On 24/06/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2006-06-23 at 17:58 +0100, Frankie Robertson wrote:
> > Please, is there any way of doing this? I've dumped the last approach,
> > I'm planning on using inclusion tags to query the database, but the
> > templates would still ne
On Fri, 2006-06-23 at 17:58 +0100, Frankie Robertson wrote:
> Please, is there any way of doing this? I've dumped the last approach,
> I'm planning on using inclusion tags to query the database, but the
> templates would still need to know the slug of the hostee's current
> page. So generic views
On 6/23/06, Frankie Robertson <[EMAIL PROTECTED]> wrote:
>
> Please, is there any way of doing this? I've dumped the last approach,
> I'm planning on using inclusion tags to query the database, but the
> templates would still need to know the slug of the hostee's current
> page. So generic views d
Please, is there any way of doing this? I've dumped the last approach,
I'm planning on using inclusion tags to query the database, but the
templates would still need to know the slug of the hostee's current
page. So generic views don't work because they don't know what the
blog_slug is, as it is I
On 21/06/06, djx <[EMAIL PROTECTED]> wrote:
*snip*
Okay, so my original post was a bit vague, but I'll have another stab
at explaining.
-- Start example code
--- /blogs/models.py
...
class Blog(Model):
title = CharField(maxlength=60, core=True, unique=True)
tagline = CharField(maxle
GenericRelations looks like a good fit for logging/auditing.
eg.
lion.log.create(action="create", action_by="userA")
lion.log.create(action="modify", action_by="userB", field="weight",
value="100")
lion.log.create(action="modify", action_by="userB", field="weight",
value="120")
lion.log.create(act
thanks heaps Nick and Jay.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAI
And if you really need per-object permissions, you can use the new
GenericRelations recently checked in by Jacob. Ian has a nice post
about it here
http://feh.holsman.net/articles/2006/06/19/django-generic-relations,
which includes all the relevant links.
I was able to get a per-object permissio
djx,
You can keep up with the Row Level/Object permissions by following
the developer mailing list for example
(http://groups.google.com/group/django-developers/browse_thread/thread/53acb7ed7783f313/36df83efcdbef1e5#36df83efcdbef1e5),
and reading the projet wiki entry here
(http://code.djangopro
James Bennett wrote:
> On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> > I guess I was looking for a way to still use the great built-in admin.i.e.
> > be able to assign users to sites within the django generated admin.
>
> Right now that's not really possible because the permissions system
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> I guess I was looking for a way to still use the great built-in admin.i.e.
> be able to assign users to sites within the django generated admin.
Right now that's not really possible because the permissions system
used in the admin assigns permi
hi,
There's this info that I saw once on the list:
http://lukeplant.me.uk/blog.php?id=1107301634
I have to admit I (very) quickly tried it and could not make it
work... I'll have to spend more time over it.
If you manage to do it, please tell me.
Enjoy,
G
On 6/19/06, kevin evans <[EMAIL PROT
Thanks James,I guess I was looking for a way to still use the great built-in admin.i.e. be able to assign users to sites within the django generated admin.On 19/06/06,
James Bennett <[EMAIL PROTECTED]> wrote:
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:> How would one create users that could
On 6/19/06, kevin evans <[EMAIL PROTECTED]> wrote:
> How would one create users that could only post to a particular blog/site?
By writing views that check whether the user who's trying to post is
in the list of allowed users for the blog/site they're trying to post
to.
--
"May the forces of ev
How would one create users that could only post to a particular blog/site?On 19/06/06, limodou <[EMAIL PROTECTED]
> wrote:On 6/19/06, Frankie Robertson <
[EMAIL PROTECTED]> wrote:>> The following is used mainly as an example for something I've been> wondering about.>> Say I'm a blog host and want t
On 6/19/06, Frankie Robertson <[EMAIL PROTECTED]> wrote:
>
> The following is used mainly as an example for something I've been
> wondering about.
>
> Say I'm a blog host and want to use django. I need all my views to
> know which blog (so as to know what information to get) they're using.
> I als
On Sun, 2006-06-18 at 19:46 +0100, Frankie Robertson wrote:
> The following is used mainly as an example for something I've been
> wondering about.
>
> Say I'm a blog host and want to use django. I need all my views to
> know which blog (so as to know what information to get) they're using.
> I a
18 matches
Mail list logo