i want use django-admin-tools in a user control panel, any idea how implement?
Thanks you guys
You mean the django admin extensions?
To setup it properly you can look at the documentation
or you need something more specific?
Related
I am working on Django and I create my Custom Admin Panel, But I want the same functionality of permission like as Django Default admin Panel. I create functionality for the Blog model in my Dashboard, if I log in as a super-admin and I give Normal User to blog view only permission then Normal user should not access add and edit access on my dashboard, Currently normal user also can access add and edit access on the admin panel which I developed.
I added the functionality for Admin and Normal User, if a user is admin then he can access my dashboard otherwise he/she will re redirect on the homepage.
But my problem is, how I can create permission-based functionality on my dashboard, I will give permission from Django default admin panel.
Please let me guide, Does I need to create the same URL's like Django default admin panel or there is another way to solve this issue. it's a very big problem for me please give me the correct solution.
please send if you have any documentation or solution for this.
My website runs under Django 1.6 and I'm using the very nice Django admin two box multi-selector widget for some of my site forms. I've just discovered, however, that the two box selector only appears in my forms for users who have staff/admin status. Everyone else sees the not so nice one box selector that requires scrolling and holding down the control key to find select multiple items.
I don't want to give all of these users access to the entire admin site. Is there a way to fix this? I can't seem to find where the check for admin rights is being made. It seems like this widget is pretty popular and I don't see similar questions, so I feel like I'm missing something.
Thanks for your help.
Since I still don't have any clear direction on this, I took the alternative action of adding code to assign is_staff=1 when users are given access to the forms that use the multi-select control and remove those rights when access is removed.
I would like to install a new style in my forum.
As an administrator I go to the control panel and missing the Styles tab.
Any ideas?
I managed to get the styles tab by going to the list of users and then navigate to the adminstrator profile. From there on the way to the admin control panel is quite easy.
As #Eeji mentioned, a user cannot set permission to himself. Even not asministrator.
I am writing a Newsletter app. I have all the things I need to get it running depsite I don't how to put the button Send E-mail while user create newsletter and select the user and how to redirect to my view?
Where is this kind of thing explained in the documentation? How to achieve this.
This should help you get started: https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#adding-views-to-admin-sites
Also, see the official django tutorial here if you haven't already: https://docs.djangoproject.com/en/dev/intro/tutorial01/
I have a menu item in my site that I want only the Admin of the site to be able to view.
I can't figure out how to get this done. Setting the permission to Special or Registered makes the menu item invisible. Event after the admin is logged in.
Some guidance on this matter will be highly appreciated.
In user manager in admin backend make sure someone is flagged as "Super User".
Then when creating menus make sure you select Super User as to whom you want to display the menu link to.
You need to make sure you have a user group of Super User and an Access Level of Super User.
all the settings that need to be handled are located in the user manager of admin backend.
I recommend reading this link:
http://docs.joomla.org/J2.5:How_permissions_work_in_Joomla!_2.5
Hope this information helps you.