You pretty much answered it yourself.
>there's just one actual html page and inside it we have to create a page (data-role="page")
Django's template helps you put together the response that gets to the client. It's unaware of what your CSS and Javascript frameworks will do with that response.
You can use Django's template features for better organization. Blocks are an obvious one. You can also split pages and dialogs out into their own .html files and include them to make a larger single response. That's just organization, though. Your front-end system is separate from Django. That would work the same way whether Django served that response or you saved it to a file on your computer.
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Bv0ZYWE8xdV-YEpim5EYh27U0_JGJUuWkeiiCWFQLRK1TvO4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment