How would one go about this? I've done this previously with RoR using BrowserCMS, but how would I even go about doing something like this transparently on a django based site/app?
The idea is to be able to allow users to publish their own pages for their data, but then that data could be pulled for the app's purpose. Not too difficult really, its the CMS part that has me scratching my head.
Any links? Blogs? Gits? Hints? All appreciated.
TIA
Django-CMS is absolutely awesome. It is the base application for 99% of what I build in my freelance business. You'll be hard pressed to find a CMS that is easier to extend or work with than Django-CMS.
Related
I am building an e-commerce website and I would like to customize my Django Admin Panel to look something like this:
I would like to re-design the entire admin page and add graphs, tables images etc. the same way you would do on the front-end. I have been searching online for hours for a solution but I can't find anything useful. Does anyone have any solution to this problem?
The django-admin pages can be customised, but not to the extent that you are hoping for. You would need to over-write a whole load of the built in django admin views, re-write a lot of the templates too.
By this point you would be re-writing so much of it, you would basically be writing your own admin anyway, and so it would be much much easier, not to use the admin app at all, and just write your own admin interface from scratch. From the docs:
The admin has many hooks for customization, but beware of trying to
use those hooks exclusively. If you need to provide a more
process-centric interface that abstracts away the implementation
details of database tables and fields, then it’s probably time to
write your own views.
Remember also, that the admin app is not designed to be a production ready interface. It should ideally, only be used by developers, so if you are needing something to be used by a wider group, the admin app probably isn't appropriate anyway.
Sorry that this probably isn't the answer you were hoping for, but it will definitely be much easier to do this yourself, than try and bolt it onto something that is going to get in your way every step of the way.
I am trying to use django as the platform for a website development. I was using wordpress so far. I liked its CMS and admin system. Can I make a function rich admin backend with django that has; pages, menus, categories, tags, posts, images etc. as the wordpress. In order to make it look good, is it possible to use boostrap or similar dashboard templates? How much of difficulty are you expecting for this project?
Looking forward for your opinions
Thanks
Django admin is a great utility that comes with django, which helps to create basic CRUD application very quickly.
Now customizing it can be somewhat difficult because it is tightly coupled.
Thought the docs are awesome and you can see if the customization will get your work done. There are many themes available such as django-suit, django-jet etc. which makes it even more awesome.
You might also want to have a look at django-cms and wagtail.
Hope it helps!
Im doing development in Rails that requires a good bit of friendly hand off to the client. For a bit, I have used Active Admin and out of the box it seems to work for the use cases I have run into like CRUD actions on model resources. However, a new app I am building involves the the ability for the client to essentially edit everything on the website and add new pages. It seems that I could get Active Admin to do this but it would take an incredibly long time. So, here are my thoughts: Try and extend Active Admin and see where that goes, build a CMS from scratch and wrap it around an Admin namespace or something similar, or see if there is a more robust CMS (does not have to be free), that comes with rich features, i.e. templating, new page creation, wyswig editor, rich text editor, etc. Think more Wordpress style CMS. What are your guys thoughts? Thanks everyone!
I can recommend this CMS, worked with it for some years now.
I've developing in django for the past few months and I find it extremely great.
My next project is a price-comparing site for local businesses - where each user can add business and comment on each.
The admin of the site won't be a programmer, but with basic knowledge in web and python.
Should I stick to the old familiar django or should I try it out?
Thanks :)
Matan.
django CMS is built on top of Django and meant to be integrated into existing Django applications or extended with new ones. So your question is flawed.
So instead ask yourself if you need CMS functionality (pages managed by your admins). It sounds like your main app (the compare bit) is better handled by a Django application, but maybe you want the site admin to be able to easily edit the About Us page etc, this is where django CMS could come in handy.
I have recently started learning Python & Django. I have gone through the Django tutorial twice now and am beginning to feel comfortable with its contents.
My goal is to make an app pretty much like the Django "Admin" site. What I am unsure about is how to go about it in the most efficient way.
Based on what I have learned from the tutorials I have had a go at making my app and am successfully displaying readonly data.
What I would like to do now is give users the ability to modify the data themselves, create new records etc etc, pretty much exactly the same way that the "admin" site works. Is there a shortcut way of implementing this, versus coding it all myself?
As the "admin" interface was built automatically to suit my model, i figure it should be possible to do something similar for the user facing side of the app without having to recode it all?
Any help greatly appreciated!
cheers
James (python & django newbie)
Thanks for the responses. To summarise them:
No, there is not a quick way to generate something similar to "admin" in the user side of an app.
You can extend/mod the "admin" side to your requirements, and give users access to this area (customise the permissions for this).