Site + Internal database using Django CMS

Skip to first unread message

Tiago Dias

Nov 24, 2020, 10:20:28 AM11/24/20
to django CMS users
Hi everyone,

I'm sending this to the mailing list, as I have a bunch of broad questions about architecture with djangocms which I think fit best here.

I'm evaluating djangocms as a possible technology to build a website for a small nonprofit group I work with, and so far I think it's the best option, but I'm not sure if certain things are possible nor about the obvious way to do them.

We want this application to be a normal website, with pages about the project and so on, but we also want it to be used as an internal database. We want to store a list of books, a list of equipment (and a maintenance log for each piece of equipment), a catalogue of our seed bank, among other things.

I'm thinking the best way to implement this is creating one (or more) django apps, and adding them as pages on my CMS as AppHooks.

Is it possible to feed back child menu items to CMS from the apphook? For example, I bind a "Database" page to the database app hook, is it possible to have "Books", "Equipment", "Seedbank" as child items in the CMS navbar? Or do I need to make an apphook for each one?

I would even prefer to have the page URL set in my code, instead of manually in the django CMS interface. Is it possible to just set the routes and menu links programatically?

Do you have any other suggestions regarding this project?

Thank you very much in advance,

Jens-Erik Weber

Nov 25, 2020, 2:20:27 PM11/25/20

Hi Tiago,

you can use al  the URLs you define in an app also if you use this app as an app hook in Django CMS. See e. g. the overview on <>. All these links there refer to a database app.

These URLs are defined in in your app. I guess that’s what you mean by programmatically.

According to the docs you can also use these urls in the automatically created menu (which I haven’t done yet).

I hope that answers your questions.


Reply all
Reply to author
0 new messages