On Thu, Dec 24, 2009 at 5:24 PM, hotani wrote:
> I have close to 600 users split by 20 or so offices. We have a
> helpdesk form (using ModelForm) which displays an initial user list
> based on the office, or no users if an office is not selected.
>
> An AJAX function on the front end dynamically c
On Dec 24, 4:24 pm, hotani wrote:
> I have close to 600 users split by 20 or so offices. We have a
> helpdesk form (using ModelForm) which displays an initial user list
> based on the office, or no users if an office is not selected.
>
> An AJAX function on the front end dynamically changes users
I have close to 600 users split by 20 or so offices. We have a
helpdesk form (using ModelForm) which displays an initial user list
based on the office, or no users if an office is not selected.
An AJAX function on the front end dynamically changes users in the
drop-down based on the office selecti
thanks, that was just what I was looking for :-)
never used this**thing before
On 29 Apr., 14:02, Daniel Roseman
wrote:
> On Apr 29, 12:09 pm, Dennis Schmidt
> wrote:
>
>
>
>
>
> > Hi Mike,
>
> > thanks a lot but that was unfortunately not what I ment. Your
> > assignmements are static
On Wed, Apr 29, 2009 at 7:09 AM, Dennis Schmidt
wrote:
>
> Hi Mike,
>
> thanks a lot but that was unfortunately not what I ment. Your
> assignmements are static in
>
> In [2]: n = TestFun(name="mike", description="Testing is always
> fun.")
>
> but I need them to be dynamic. So in the above case N
On Apr 29, 12:09 pm, Dennis Schmidt
wrote:
> Hi Mike,
>
> thanks a lot but that was unfortunately not what I ment. Your
> assignmements are static in
>
> In [2]: n = TestFun(name="mike", description="Testing is always
> fun.")
>
> but I need them to be dynamic. So in the above case NAME wouldn't
Hi Mike,
thanks a lot but that was unfortunately not what I ment. Your
assignmements are static in
In [2]: n = TestFun(name="mike", description="Testing is always
fun.")
but I need them to be dynamic. So in the above case NAME wouldn't be
hardcoded but come from a dictionary. {'name': 'mike'} l
On Wednesday 29 April 2009 03:24:48 am Dennis Schmidt wrote:
> Hi there,
>
> this might be a trivial question but my search within the django
> documentation and google didn't give me any helpful results.
> In Ruby on Rails you can simply do this
>
> x = Model.new({:param_x => 'x', :param_y => 'y'}
Hi there,
this might be a trivial question but my search within the django
documentation and google didn't give me any helpful results.
In Ruby on Rails you can simply do this
x = Model.new({:param_x => 'x', :param_y => 'y'})
where the params are some model fields. The hash you can provide ther
Maybe a better approach for this, can be override the save method for
your model and also exclude that field on your forms.
Actually there is a post from James Bennett at:
http://www.b-list.org/weblog/2008/dec/24/admin/
hope it helps,
regards,
Sergio Hinojosa
On Dec 26, 6:32 pm, eldonp2 wrot
I'm writing a library app - would like to find out if it is possible
to have a dynamically updating (returndate) field in a model?
class Loan...
...
borrowdate = models.DateTimeField(auto_now_add = True)
returndate = models.DateTimeField(timediff(borrowdate+ timedelta
(days=2))
...
--~--~--
11 matches
Mail list logo