Writing a custom application inside mezzanine

68 views
Skip to first unread message

Tucker Joenz

unread,
Aug 14, 2012, 9:39:16 PM8/14/12
to mezzani...@googlegroups.com
Hello,

I am looking for the proper file structure when writing my own custom application inside mezzanine. I have a site I am building mainly a blog. So the index/home page is the blog. Now I want a sidebar with events inside it. This to show venues and dates for a band. I have created a folder for the events application in my project. This has the models, views, admin and urls inside it as any django app would have. Also inside this has a template folder with the template for this inside. I wonder if I need to have the template inside the includes folder that mezzanine provides. Looking at the documentation I am not sure if my structure is correct, seeing that I am not getting anything rendered to my template.

Screenshot of file structure:


Thanks for your input.

Stephen McDonald

unread,
Aug 14, 2012, 9:42:42 PM8/14/12
to mezzani...@googlegroups.com
That looks spot on - it should just follow the conventions of a regular Django app, nothing Mezzanine specific to worry about in this regard.
--
Stephen McDonald
http://jupo.org

Tucker Joenz

unread,
Aug 14, 2012, 10:02:30 PM8/14/12
to mezzani...@googlegroups.com, st...@jupo.org
Excellent! Making sure I'm on the right track :) Thanks!
Reply all
Reply to author
Forward
0 new messages