Top "Django-admin" questions

Django's built-in, automatic admin interface (django.

Django is "unable to open database file"

after running "python manage.py syncdb" i gett an error saying "unable to open database file". here is the important …

database django sqlite django-models django-admin
Django Admin - Overriding the widget of a custom form field

I have a custom TagField form field. class TagField(forms.CharField): def __init__(self, *args, **kwargs): super(TagField, self).__init__(*…

django django-admin overriding widget
Getting Site Matching Query Does Not Exist Error after creating django admin

I'm going through the standard Django tutorial to create an admin for an app. After commenting the admin related stuff …

python django django-admin django-sites
Django admin: How to display a field that is marked as editable=False' in the model?

Even though a field is marked as 'editable=False' in the model, I would like the admin page to display …

django django-admin
Django Admin ManyToManyField

I've made a model (models.py): class opetest(models.Model): name = models.CharField(max_length=200) author = models.ForeignKey(User, related_…

django django-models django-admin manytomanyfield django-orm
How can I create custom page for django admin?

I want to create custom page for admin panel without model. For first i copy index.html to project folder: …

python django django-admin
Django: detect admin login in view or template

How can I detect, from views or template file, if my admin user is logged in or not? For example, …

django django-admin
Not able to create super user with Django manage.py

Trying to create a super user for my database: manage.py createsuperuser Getting a sad recursive message: Superuser creation skipped …

python django python-3.x django-admin django-1.8
django - set user permissions when user is automatically created using get_or_create

Django 1.5, python 2.6 The model automatically creates a user under certain conditions: User.objects.get_or_create(username=new_user_name, …

python django django-admin django-authentication
Django fix Admin plural

How do I change some models name from "Categorys" to "Categories" on admin site in the new dev django version? …

django django-admin