Sorry if this is a dumb question, just picking up Django.
I've set up a payments form, to create payments associated with a contact
(see payments model) however I'm having trouble figuring out how to save
the payment with the relevant contact associated, as the contact isnt
selected as part of
;form' : PaymentForm()
>>> })
>>> return render_to_response('CRMSite/contact_payments.html',rctx)
>>>
>>rctx = RequestContext(request,{
>> On Tue, Oct 2, 2012 at 4:20 AM, Keir Lawson
>> > wrote:
>>
>>> Sorry if this
Hello,
I was wondering what the most elegant way (using a DetailView or similar)
to display the fields of a model, excluding those that are empty?
Thanks
Keir
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web
3 matches
Mail list logo