Skip to main content

Project description

django-roma is a read-only ModelAdmin.

Django’s admin interface is designed for editing, not viewing. But sometimes you want read-only models, and the admin is a convenient place to put them.


pip install django-roma


Edit the relevant in your project. e.g:

from roma import ReadOnlyModelAdmin
from myproject.myapp.models import MyModel, ReadOnlyModelAdmin)

Or if you want a bit more customisation:

from roma import ReadOnlyModelAdmin
from myproject.myapp.models import MyModel

class MyModelAdmin(ReadOnlyModelAdmin):
    fields = ("title",), MyModelAdmin)

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-roma, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-roma-0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page