On Wednesday, 5 October 2011 15:44:23 UTC+1, Chris Green wrote:
>
> I want to create a simple data entry form on a web page that shows all
> the columns of a database across the page (there aren't many columns,
> they will fit!) and a number of rows down the page.
>
> I.e. I want a data entry form that looks like MS Access 'tabular'
> format, as follows:-
>
>     Col1Row1    Col2Row1        Col3Row1        Col4Row1        Col5Row1
>     Col1Row2    Col2Row2        Col3Row2        Col4Row2        Col5Row2
>     Col1Row3    Col2Row3        Col3Row3        Col4Row3        Col5Row3
>     Col1Row4    Col2Row4        Col3Row4        Col4Row4        Col5Row4
>     Col1Row5    Col2Row5        Col3Row5        Col4Row5        Col5Row5
>     Col1Row6    Col2Row6        Col3Row6        Col4Row6        Col5Row6
>     New Data    New Data        New Data        New Data        New Data
>
>
> Can django do this easily in a 'ready made' sort of way or do I have to
> actually create the form and all its fields?
>
> -- 
> Chris Green
>

You want model formsets:
https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/#model-formsets

There's a third-party package called django-datagrid which might also help, 
but I've no idea what it's like.
https://github.com/agiliq/django-datagrid
--
DR. 

-- 
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/msg/django-users/-/RMiIsepmXq0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to