Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
https://github.com/idlesign/django-admirarchy
|release| |lic| |coverage|
.. |release| image:: https://img.shields.io/pypi/v/django-admirarchy.svg :target: https://pypi.python.org/pypi/django-admirarchy
.. |lic| image:: https://img.shields.io/pypi/l/django-admirarchy.svg :target: https://pypi.python.org/pypi/django-admirarchy
.. |coverage| image:: https://img.shields.io/coveralls/idlesign/django-admirarchy/master.svg :target: https://coveralls.io/r/idlesign/django-admirarchy
Django Admin addon to navigate through hierarchies.
Have you ever wanted Django Admin to be able to navigate through hierarchies?
Without existing models modifications? Yeah!
Admirarchy does it in an old-school way, just like Norton Commander and Co - one level at a time.
Hierarchies described as adjacency lists and nested sets are supported.
.. code-block:: python
# admin.py of your application
from django.contrib import admin
from admirarchy.toolbox import HierarchicalModelAdmin
from .models import MyModel # Let's say this model represents a hierarchy.
# Inherit from HierarchicalModelAdmin instead of admin.ModelAdmin
@admin.register(MyModel)
class MyModelAdmin(HierarchicalModelAdmin):
hierarchy = True # This enables hierarchy handling.
Done. Go navigate %)
FAQs
Django Admin addon to navigate through hierarchies
We found that django-admirarchy 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.