Dear All,
Take two models - "Contact" which has a many to many relationship with
"MailList" (defined on MailList).
When a user who only has permissions to delete from Contact attempts
to delete any contact, whether or not they're in a mail list, they get
a permission denied message.
"""
Deleting
On Jan 6, 12:47 am, drakkan wrote:
> On 6 Gen, 00:41, drakkan wrote:
>
> Suppose I want to delete an user. This user is in table1 and so in
> databaseview too. Django default is to do adeletecascade so it tries
> to remove the user from table1, databaseview and auth_user: it fails
> when try
Hi May.
You'll need to make the admin media accessible from and set ADMIN_MEDIA_PREFIX correctly.
For instance, I keep my admin media folder in my media folder. I
therefore have:
ADMIN_MEDIA_PREFIX = 'http://myserver/media/admin/'
As for the urlconf error, just go back to (r'^admin/(.*)',
admi
Hi all
I've got two projects - one is a branch of the other, on the same
machine.
They use different databases.
Strangely, if I run django-admin.py syncdb or "python manage.py
syncdb" in the branch project, it reads the models from the original
version, however if I run "python manage.py sqlall
Hi all
I can't figure out how to change TEMPLATE_DIRS according to the URL
used.
My purpose is to view two versions of the same site, e.g. mysite/v1/
and mysite/v2/, but keep the same codebase. This is just for
development so people in several countries can view the site and put
in their opinion
5 matches
Mail list logo