This is great! Thank you for taking the time to do this. How would you change the model, etc. for allowing the 'staff members' to be ordered in the list like how cms pages are ordered by drag and drop in the sidebar.
@MartinKoistinen10 жыл бұрын
You'd want to have a look at django-admin-sortable. Works well!
@magicproductions64352 жыл бұрын
Thank you for the knowledge you're sharing. I got a question please, is there a away to find a form builder for django cms? there's 2 or 3 on github but unfortunately not maintained, so I got many error versions.
@MarcelBariou8 жыл бұрын
@Martin, Thanks a lot for the video and the quality of explanation, for the future take care line 9 of staff/cms_toolbar.py => from cms.cms_toolbar[s] import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK Don't forget [s] Thanks and regards
@MartinKoistinen8 жыл бұрын
Thanks Marcel, when I created this video, cms_toolbar was correct, the CMS has since changed to using the plural for its special files: cms_toolbars, cms_menus, cms_plugins, etc. Thanks again!
@Darkless697 жыл бұрын
Would you mind writing that to the description of the video please? Or even better; make a caption to the video if you will have some time? I think that would be very useful to the newcomers (and also "oldcommers " as I also got caught for an hour before I did read new docs.)
@alvinomusic893 жыл бұрын
Great video, helped me a lot. But please when you record video please could you zoom code? Because very hard to see code on moble phone :)
@psychok710 жыл бұрын
awesome video. it covers a lot of ground for django cms specially for guys like me who only know django. i think that if i only followed the official tutorial e would take much longer to understand these concepts
@quentingerome345310 жыл бұрын
Thank you, this video is just what I needed !
@MrXeberdee10 жыл бұрын
Great video, thanks for this info. I just installed the CMS and was wondering how I might integrate my apps - thanks a lot.
@TammoLaube10 жыл бұрын
Wow, very helpful and easy to watch. I was in fullscreen and was surprised that I was already watching for half an hour. Thank you!
@spike8239 жыл бұрын
you have a nice "repo" there, called "notes"... is it available for downloading? :P I found it really usefull
@felipeserrano91739 жыл бұрын
Simple-Elegant and Great tutorial Martin. Question: DjangoCMS can create multiple languages content (en,es,fr), is there a way that also the integrated App can respond to the language being requested from the CMS itself?
@aemcreative32248 жыл бұрын
I have followed this to make a simple app to allow adding menus and menu sets for a restaurant CMS I'm building. But I have the same problem you have, each menu set is a sub menu and when a new menu set is added, I have to restart the server before it shows in the menu, is there any way around this?
@inoyonartloverklangrausch37459 жыл бұрын
very nice video. would be nice to see more :) especially django-cms is very hard for beginners :) many thanks!!! :)
@zhiqiangliu67349 жыл бұрын
Great video, really helped me to pick it up quickly. I tried to redo the whole thing and met two small problems, hope they can get answered for myself and others. Or maybe I got something wrong. 1, If I edit a staff member and change the name and slug, it will refresh to the current url. But because the slug has been changed for that member, I will get a 404. 2, The only difference I made is I used bootstrap templates when setting up. For the Leadership menu on the page, I can use it to navigate to specific members, but the main menu does not work. If you click Leadership on the main menu, it only opens the members submenu instead of going to Staff List view. Maybe I should just use other templates? Thanks again:)
@behaviorfilms10 жыл бұрын
Thank you so much for these videos, they've helped me immensely. Just out of curiosity, what theme are you using in ST?
@MartinKoistinen10 жыл бұрын
"Twilight" Very easy on the eyes =)
@records_live4dev9 жыл бұрын
Many thanks for good tutorials of work with django-cms.
@sergeinosachyev53209 жыл бұрын
I was seen this before and it dosen't help me. I woud like you are seeing my code and change if will fined my error
@powerbell10 жыл бұрын
thank you brother!
@wowkalucky10 жыл бұрын
CMS 3.0 RRROCKS!
@kristofraymas72810 жыл бұрын
At minute 32:00 you're talking about app hooks and app name spaces. You're hard coding the app's namespace in absulute_url(), mentioning that this is okay since there's only going to be only one app namespace. What if there were multiple apps with just as manny namespaces? How would one deal with that? Thanks.
@MartinKoistinen10 жыл бұрын
Hi Kristof, in that case, you'd have to put more smarts into the model's get_absolute_url() method, or, determine the url elsewhere... again with more smarts.
@migrujucigunar81298 жыл бұрын
can you send link of code how may look main settings.py file and urls.py file?
@MartinKoistinen8 жыл бұрын
+M G The entire project is stored at the GitHub repo which I posted in the notes above.
@romaquemaximo910010 жыл бұрын
Obrigado, este vídeo me ajudou muito...
@biern_at9 жыл бұрын
Great video! Thank you!
@pengchang19828 жыл бұрын
why we need django cms, if we know how to write html code or django template?
@MartinKoistinen8 жыл бұрын
If you're building your project to never change or to only be modified by technical staff, then, sure, just use Django. However, if you'd like to easily modify your site, or you have non-technical stakeholders, you will love django CMS =)
@azpwnz75 жыл бұрын
Thank you!
8 жыл бұрын
Hello Martin Koistinen Can you share your notes with me? The notes you use in the tuto
@MartinKoistinen8 жыл бұрын
Sure, all the code is located here: github.com/mkoistinen/staff-app-demo
8 жыл бұрын
Thanks
@kenthoter82279 жыл бұрын
Very cool ,would you share the code which edited in the tutorial ?:-)
@MartinKoistinen9 жыл бұрын
As in the comments above, you can get all this code here: github.com/mkoistinen/staff-app-demo
@kenthoter82279 жыл бұрын
that's very kind of you ! I just found the link in your comments after asked for help :-) the video help me a lot ,thank you !