Look at the structure, it's pretty easy.
/
––/about/
––/contacts/
––/history/
––/projects/
––––/project1/
––––/project2/
––––/project3/
All the pages should have some meta fields, text field to show, slug -
something that is common for all pages. Now what is different for all
that pages.
Contacts page in addition to common fields should have fields in admin
to edit: 2-4 phone numbers, link to Gmap, ImageField and a ForeignKey
for people related to contacts page (separate model with some fields).
Projects page should have an ImageField too and a ForeignKey for some
projects (separate model with some fields).
About page should have ImageField, 2-5 FileFields, another TextField
and some files as a ForeignKey model.
So, as you see, there should be a number of different editable...
things. All of them with differend fields and some with related
models...
Is it really easy to implement using Django? I'm not really sure how
to do that...
Thanks for replies ahead.
What part is troubling you? You seem to have a good idea of what you
want.
The main trouble for me is nearly how to do that "right" with the MVT
layer. I'm not really sure how to write models for such a small yet
compound structure.
How do I make, say, the first and second pages (about and contacs)
with some different fields? I will reproduce the method for all other
pages and repost here or question it again.
The contacts page probably just needs a Contact model with the
appropriate fields, and then you can make a template that displays
them all in the same page (or paginates them if there's a lot).
You probably also want a model for the project with the fields you
specified. You should be able to handle all of the project pages with
one view, one template, and a url scheme like /projects/1/ (assuming
they're going to have the same layout)