Friday, June 29, 2018

Re: Django split screen

Julio,

Thanks for the quick reply.

I have not worked with templates yet so that will be a new field for me to explore.


On Friday, 29 June, 2018 09:41 PM, Julio Biason wrote:
Hi Gerald,

You can't "split" the screen because Django is simply a way to retrieve data from a database and send HTML to the browser.

You can, however, load the history and create a form and send both to the template, which will display both side by side (or one on to the top of the other, or whatever).

All you have to do is create a view that loads the history and create a form object and send both to a template that knows how to display both.

On Fri, Jun 29, 2018 at 10:36 AM, Gerald Brown <gerbreown@gmail.com> wrote:
Has anyone ever heard of a way to split a screen in Django?

What my client wants to do is to view a screen with the customers previous history (scrollable but NOT editable) while entering new data for that customer.

I think I will need a form for the data entery but I am not sure what I would use to display the history data.

Any ideas or suggestions?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e61f1617-e8ae-46b5-ac82-22275c600d2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEM7gE3ioQn3U8HOC02fZDMXYgoiAZunNYSfRuM-B-Nu5g9QGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment