Hello all,
how can I add a string in the model that would appear in the output form
exactly
on the position from the model as text e.g. in a Paragraph. Is it possible
to
create a non DB related Field in models for that?
Example how I would like it to be :
in models.py
class Example(models.M
hi Reiner I think what you want to do is controlled in the view not the
model.
in your view do something like this:
context = {'form':form, 'infotext': "some informational text"}
return render(request,'form.html', context)
then in your template you can refer to it as follows:
2 matches
Mail list logo