Questions tagged [admin]

admin may refer to both physical persons or software accounts that are dedicated and privileged to change the system they operate. Also used on WordPress to designate backend.

admin may refer to both physical persons or software accounts that are dedicated and privileged to change the system they operate. Also used on WordPress CMS to designate backend processes (see is_admin() conditional function).

4554 questions
28
votes
4 answers

Backend administration in Ruby on Rails

I'd like to build a real quick and dirty administrative backend for a Ruby on Rails application I have been attached to at the last minute. I've looked at activescaffold and streamlined and think they are both very attractive and they should be…
srboisvert
  • 12,679
  • 15
  • 63
  • 87
27
votes
9 answers

Dynamic fields in Django Admin

I want to have additional fields regarding value of one field. Therefor I build a custom admin form to add some new fields. Related to the blogpost of jacobian 1 this is what I came up with: class ProductAdminForm(forms.ModelForm): class Meta: …
Stephan Hoyer
  • 4,792
  • 2
  • 29
  • 26
27
votes
3 answers

Django Admin filter on Foreign Key property

I want to add a filter in an admin changelist by a property of a foreign key, e.g. class Address(model.Models): street = models.CharField(max_length=25) city = models.CharField(max_length=25) country =…
Jacek Furmankiewicz
  • 1,143
  • 1
  • 13
  • 22
27
votes
5 answers

How to override the queryset giving the filters in list_filter?

Given the following models class AnotherModel(models.Model): n = models.IntegerField() class MyModel(models.Model): somefield = models.ForeignKey(AnotherModel) and admin class MyModelAdmin(admin.ModelAdmin): list_filter =…
jul
  • 36,404
  • 64
  • 191
  • 318
26
votes
7 answers

SVN admin management GUI tool

What GUI Administration / Management tools are there for an SVN repository on Windows?
JMS77
  • 558
  • 2
  • 5
  • 13
26
votes
1 answer

creating new admin webmin user in shell

Installed webmin and want to create a new user non root to login, follow the steps : Edit the file /etc/webmin/miniserv.users and add a line for your new user like anubhav:12ZVLjpihs:0 Edit file /etc/webmin/webmin.acl and copy the first line for…
Anubhav
  • 281
  • 1
  • 3
  • 5
24
votes
4 answers

Django Admin Custom Change List Arguments: Override /?e=1

I'm trying to pass in a custom argument to the Django Admin change list view so I can filter the list in a specialized way. I'd like to filter the queryset on 2 fields, start_date and end_date, based on the GET parameter called 'active_pp'. I've…
Joe J
  • 9,985
  • 16
  • 68
  • 100
24
votes
4 answers

How to add new button to order view in Magento admin panel?

How to add custom button to order view page near "Back" and "Edit"?
silex
  • 4,312
  • 4
  • 22
  • 27
24
votes
4 answers

Can you set a default console region in aws?

I am setting up an account for a small organization and I decided to isolate the master account and create an admin IAM user. I set up the database and follow the tutorial to create an admin IAM user. I log in to the admin account later to verify…
John Drinane
  • 1,279
  • 2
  • 14
  • 25
24
votes
6 answers

Django E.408, E.409 and E.410 errors on runserver

I am installing a new Django project using virtualenv, all in the normal way. My version of Python is 3.7.3, and django is 2.2.3. If I do python manage.py runserver, I get the following errors: ?:…
Raph117
  • 3,441
  • 7
  • 29
  • 50
24
votes
4 answers

Query my block size oracle

Is there a way I can tell the block size of my Oracle database if I don't have access to the v$parameter view? Thanks! f.
filippo
  • 5,583
  • 13
  • 50
  • 72
24
votes
4 answers

Django Admin: Ordering of ForeignKey and ManyToManyField relations referencing User

I have an application that makes use of Django's UserProfile to extend the built-in Django User model. Looks a bit like: class UserProfile(models.Model): user = models.ForeignKey(User, unique=True) # Local Stuff image_url_s =…
dannyman
  • 621
  • 1
  • 9
  • 27
23
votes
3 answers

What is the "admin" database in mongodb?

I was practicing ont mongodb documentation : https://docs.mongodb.com/manual/tutorial/enable-authentication/ and I can't figure out if the "admin" database in the example is just a database created for the tutorial or if it is a built-in database…
Micawber
  • 707
  • 1
  • 5
  • 19
23
votes
4 answers

Setting MSMQ permissions for a private queue created by a different user

The person who was previously using my PC at work set up a private MSMQ that I need to access. They have since left the bank but the permissions remain and I can't access the queue or give myself edit permission to remove the restriction. I am an…
Alex
  • 2,681
  • 3
  • 28
  • 43
23
votes
2 answers

Can you add parameters to Django custom admin actions?

For example (not the case, but just to illustrate) if I wanted to add an action to set a specific field in the selected items to X. Is it possible to add an action to allow X to be entered as opposed to hard coded?
nickponline
  • 25,354
  • 32
  • 99
  • 167