Alright, I'm gonna throw a question out there, maybe someone can help.
As shown above I can intercept the admin index page in order to not
display the login form which doesn't make sense for CAS authentication.
However, this only works if the user needs to be authenticated and
requests the
Quick followup in case anyone is interested (anyone? Bueller?)...
One problem is handling the admin site, which doesn't really account
for an authentication backend that doesn't know the user's password
(making the login form useless). So, without wanting to hack up
django.contrib.admin, here's
sions
were not working properly for many reasons.
I can recall once I build mod_python linking to the wrong libraries,
and some strange stuff happened.
-- Brian Ray (http://kazavoo.com)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
10, price=1.5, total=2, order=o, product=p).save()
>>> OrderItem(quantity=5, price=10.5, total=20, order=o, product=p).save()
Here's the part you want:
>>> o.orderitem_set.all()
[, ]
Hope that helps.
--
Brian Beck
Adventurer of the First Order
--~--~-~--~~--
'django.contrib.auth'.
Also see cas/backends.py if you have a way to automatically determine
the user's name and e-mail from the username (from LDAP for example),
or if you need to implement more of the CAS protocol (gateway, renew,
proxy...).
Questions and comments welcome.
--
Brian Beck
Adventurer
Hi,
New to the group. I just took over the website for a smaller, weekly
newspaper in NYC, and I am looking at completely rebuilding the system
with a Django framework. Do you have any suggestions how I can find a
good lead Django developer in NYC. Are there job boards etc, besides
this I
that though, there is a perfect tutorial on
http://toolmantim.com/article/2006/5/31/installing_django_on_osx
Helped alot!
Cheers
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
:
SuspiciousOperation: User tampered with session cookie
Is there a way around this? Has anyone had this problem before in the
pass? I'd really appreciate any help.
Thanks
Brian
Ps: Cheers for everyones help on last topic I had. I hope my questions
weren't painfully idiotic to any one. Thanks
stribution_list",
"subscriber"),)
Is there something I need to do or am leaving out?
Thanks again
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
Jacob Kaplan-Moss wrote:
> On Sep 1, 2006, at 9:17 AM, brian corrigan wrote:
> > However with the project I'm working on, I can't change the Django
> > version I'm working on. I have tried doing an SVN update on the core
> > directory but meta was not included in it.
= meta.ForeignKey(DistributionList)
subscriber = meta.CharField(maxlength=30)
class META:
unique_together=(("distribution_list", "subscriber"),)
?
It is the unique_together that I need to implement.
Thanks in advance
Brian
--~--~-~--~~~
Thanks Jacob,
However with the project I'm working on, I can't change the Django
version I'm working on. I have tried doing an SVN update on the core
directory but meta was not included in it. Is there anyway I can
download the relevant files/folders?
Thanks again,
Brian
Sweet.
Thanks guys for the quick answer. This is very reassuring. Of course,
this also means that I'm now looking at several hours of
reorganization. Part of me was hoping you'd say "No! Don't touch."
>From Jacob's example it looks like you guys take it a step further and
more or less invert
Hey there,
I'm working on a project that will run several related news sites from
a single Django installation. I'll be treating each site as a separate
project, complete with its own settings.py file and corresponding use
of the sites framework.
Where I run into trouble is with apps that are
Hello,
Is it possible to order a query by a ManyToManyField? For example,
in the models below, I'd like to select all Entries and order by the
Author's name. Something to the effect of Entry.objects.all
().order_by('authors__name')?
Thanks,
Brian
class Author(models.Model):
name
Russell,
Just wanted to thank you for responding to my post. You did
interpret my question correctly, though I was obviously hoping to
avoid using raw SQL. Anyway, thanks again.
Brian
On Apr 12, 2006, at 1:10 AM, Russell Cloran wrote:
>
> Hi,
>
> On Tue, 2006-04-11 at 21:2
Max,
Just wanted to thank you for responding to my question. You are
correct that the list comprehension is pythonic, though I was ideally
looking for a efficient method from a database perspective.
Thanks,
Brian
On Apr 12, 2006, at 2:16 AM, Max Battcher wrote:
>
> Russell Cloran
to obtain all Tags with no associated
articles? (m-r) I basically want to delete unused tags.
Thanks,
Brian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
is a AccountManipulatorChange. I double checked by
calling HttpResponse on manipulator.__class__.__name__.
I do use a "_pre_save" in my model and I was wondering if this somehow
was causing this unexpected behaviour.
tia,
Brian Ray
<http://brianray.chipy.org> aim: brianray34
="t");
Alhtough, I am unsure if this will work if I switch Database platforms.
Is there a better way?
Thanks, Brian Ray
bray sent com
http://brianray.chipy.org
Thanks Ian. But, this is not really what I am doing here. I do not
want to create users from Apache.
Kind Regards, Brian
so,
this is fine by me.
Regards, Brian Ray
Adrian,
I took a look at modpython.py. I changed line 16 to:
_str_to_bool = lambda s: s.lower() in ('1', 'true', 'on', 'yes')
Note the parethesis.
Seems to work now. Cool, Thanks!
901 - 923 of 923 matches
Mail list logo