
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Django's default ModelAdmin
is kinda dull. It only displays the
__unicode__
column and that's it. SmartAdmin
attempts to create some
more useful defaults for list_display
, list_filter
, etc., based on the
model. (You can still manually specify whatever you want of course.)
This may be useful to you if you create new models often and want to have a usable admin for them without much work.
::
pip install django-smartadmin
Just use smartadmin.SmartAdmin
instead of
django.contrib.admin.ModelAdmin
:
.. code-block:: python
from smartadmin import SmartAdmin
class MyModelAdmin(SmartAdmin):
pass # or override something
admin.site.register(MyModel, MyModelAdmin)
# or just:
admin.site.register(MyModel, SmartAdmin)
FAQs
Django ModelAdmin for the lazy.
We found that django-smartadmin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.