Building user area and site admin - Django - CMS - django

I am a begginer with Django. I read a book and then I practiced building a real estate project which is working fine. Now I am going to create the admin area, for example, for the site editor to post articles, set posts as paid, edit layout texts ...
I used Django 1.9.10 to build the project. I have been reading and looks like I will need do use Django CSM. Do I have to start a new project or is it possible to change my Django project using django cms?
Thank you

Why not using the built-in Admin module for that part?
https://docs.djangoproject.com/en/1.10/intro/tutorial02/#explore-the-free-admin-functionality

Related

Django vs Django-CMS -business compare site

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.

Django multilingual app with flatpages

Which way is better to create a simple multilingual app with Django? I need just one or two flatpages and navigation. The problem is as follows:
- Content and navigation panel on the page should be able to change from an admin-panel.
- I need multi-language application.
I would like to hear your advice. This can be a ready-made solution (package or github project).

Adding a blog to my Django website

I have created a website using Django 1.4.3. I'd now like to add a simple blog to it. I'm thinking a good way to do this would be to add a new blogging app to my existing Django project? Are there any simple Django blog apps that I could "drop in" to my existing project to achieve this?
Also, I have an existing blog on Posterous that I have exported (a set of folders and a wordpress_export_1.xml file.)
It would be great if I could somehow import this into my new Django based blog.
https://github.com/nathanborror/django-basic-apps
django-basic-apps (formerly django-basic-blog) has a blog app (and included apps to help said blog app) that might be what you're looking for.
Or you can try http://gettingstartedwithdjango.com/en/lessons/microblog-kitchen-sink/ . It is a free courses by Kenneth Love.

Should I use a blog app in Django?

I want to create my own admin panel and every users will can have their own blogs. I'm using a blog app called 'Zinnia', I liked it. Zinnia have some visual editors (WYMEditor, Tinymce) also have a tag system, etc. that I want to have in my admin panel.
I was wondering if should I create my own admin panel or blog app and integrate the visual editor programatically. What would be better?
Thanks for answers.
EDIT: My real question is: What's better?
create my admin and my blog app
create my admin integrating Zinnia or another blog app
use the django admin panel (but i want to customize the fully admin panel, so I guess that is not a good option)
Remembering, the users (not only admins) can post to their blogs. (this is the reason that I don't want to use the Django admin)
EDIT 2:
Exactly what I want: I want to use all the features (such as tagging, WYMEditor [I know i can implement this programmaticaly], etc.) of Zinnia (or another blog app) with my custom admin panel, with my buttons, my layout, my css, my everything!
Thanks for all answers, it's important for me.
Here is a simple tutorial for creating a django blog app:
http://lightbird.net/dbe/blog.html
If you are still learning django, I recommend it to create your own blog!!!
Creating a good Django blog application is straightforward, but tedious work, that can quite easily get unwieldy if you start implementing additional features such as multiple language support, linkback handling, search, sitemap generation, etc.
I definitely wouldn't suggest that you start from scratch. If your not completely satisfied by the full extent of possibilities or the initial feature set of Zinnia, you can check out all the Django blog applications on Django Packages.

Integrate existing blog code into Django-CMS?

If I already have a blog app done with Django and I want to use it with my new Django CMS site, is it okay to simply drop it into my new Django CMS project as a decoupled app and match anything /blog/ to the blog app as apposed to a Django CMS plugin? I guess what I need to know is when is it best to write my Django app as a plugin vs an entire app?
Thx
JeffC
Yes, but you don't just drop it into the urls.py, instead you can write an AppHook to tie your blog's URL scheme to a particular page in your CMS.
Plugins on the other hand are useful if you want to inserts particular aspects of you app into other page's placeholders - for example to show your latest 3 posts on the frontpage.
You might also want to include your blog's paths in a breadcrumb or menu on your site - in that case you need to write a custom Menu too.
Finally, it might also be useful to make use of django cms's placeholders in you blog model. His would allow you to post a variety of content via plugins.