I have come up with a way to do this below. Is there a better way?
Obviously the CharField is just for demonstration. The real field
would need to create a usable id. Here is what I have so far:
from django.db.models import Model, CharField
from django.db.models.base import ModelBase
class Bas
Hi,
I would like to use the django admin interface for authentification of a
web site.
However I also have to store a password hash (different algorith /
different salt) for another application, such, that both applications
can use the same password.
What would be the easiest way to hook into the
I have a Django app that does some heavy calculations for the user.
At the start of a user's session it parses some source data and builds
a complex data structure, in the form of big trees of cElementTree
nodes (by themselves fast and small, being written in C). Then it
allows the user to query a
One possibility that springs to mind is shared memory, either the sysv
shmem variant or memory mapped files.
mjl
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/ms
On 2011-11-06, at 22:07 , Tobia Conforto wrote:
>
> I also guessed that deserializing a complex data structure at every AJAX
> request would seriously impact performance.
Have you *tested* this assumption?
Because, to me and without any hard numbers, wanting to keep trees in-memory
kind-of soun
Hey thanks a bunch for the workaround. Maybe I am doing something
wrong, but this is what I'm getting when I implement it and it really
seems weird..
in my view I have:
staff_person =
Staff.objects.using('gold').get(username=current_staff)
form = StaffForm(instance = staff_person)
grou
On 7/11/2011 7:43am, Gelonida N wrote:
Hi,
I would like to use the django admin interface for authentification of a
web site.
However I also have to store a password hash (different algorith /
different salt) for another application, such, that both applications
can use the same password.
What
Hi Mike,
On 11/07/2011 12:15 AM, Mike Dewhirst wrote:
> On 7/11/2011 7:43am, Gelonida N wrote:
>>
>> What would be the easiest way to hook into the password modification
>> form, such, that I can calculate two password hashes with different
>> salts / alorithms?
>>
> You need your own auth backend
hi,
what do people use to display bar charts in their sites?
--
regards
Kenneth Gonsalves
--
regards
Kenneth Gonsalves
--
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 uns
Google charts api
Kevin
Please excuse brevity, sent from phone
On Nov 6, 2011 11:57 PM, "kenneth gonsalves" wrote:
> hi,
>
> what do people use to display bar charts in their sites?
> --
> regards
> Kenneth Gonsalves
>
> --
> regards
> Kenneth Gonsalves
>
> --
> You received this message because
On Mon, 2011-11-07 at 00:04 -0500, Kevin Anthony wrote:
> Google charts api
>
>
any clues on how to integrate this with django?
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
maybe you can just modify the create_user function in django , matching the
hash algorithm of the other backend, or the other backend matching to the
django backend.
you choose which one would be the single auth method.
and of course the admin interface is just as it, except you need custom
metho
12 matches
Mail list logo