Hello,
I'm trying to use django's admindoc module in my project. I realized
that the view documentations for the project, located under /admin/doc/
views/ (my admin docs are served by admin/doc is littered with views
for the both admin and admindoc module. Those views aren't very
interesting for m
If you look at the internals of QuerySet, the evaluated values lie
inside self._result_cache. You can just sort this element, but that
sounds very hacky...
On Nov 22, 4:27 pm, Christophe Pettus wrote:
> Apologies if this is a FAQ...
>
> I'd like to take a QuerySet and order it in memory, rather t
I'm wondering, how are fail_to_get_lock and release_lock implemented?
It would be some kind of multiprocess lock, which seems overly
complicated..
using save() in this case is cumbersome, because save() is not
threadsafe... you'll have to try to maintain your own lock.
If you only want to impleme
I have the following form:
class UserInfoForm(forms.ModelForm):
password_field = forms.CharField(label='Password',
widget=forms.PasswordInput(render_value=False)
password_repeat_field = forms.CharField(label='Password(repeat)',
widget=forms.PasswordInput(render_value=False))
#Make th
4 matches
Mail list logo