Personal tools
Skip to content. | Skip to navigation
django-import-export is a Django application and library for importing and exporting data with included admin integration. Features: support multiple formats (Excel, CSV, JSON, and everything else that tablib support) admin integration for importing preview import changes admin integration for exporting export data respecting admin filters Documentation: https:/django-import-export.readthedocs.io/en/stable/ GitHub: https:/github.com/django-import-export/django-import-export/ Free software: BSD license PyPI: https:/pypi.org/project/django-import-export/ Example app To run the demo app: cd tests ./manage.py makemigrations ./manage.py migrate ./manage.py createsuperuser ./manage.py loaddata category book ./manage.py runserver Contribute If youd like to contribute, simply fork the repository, commit your changes to the develop branch (or branch off of it), and send a pull request. Make sure you add yourself to AUTHORS. As most projects, we try to follow PEP8 as closely as possible
UNKNOWN
A Django application to retrieve client's IP address.
django-jinja ============ Simple and nonobstructive jinja2 integration with Django. **Now with support for django 1.8** .. image:: https://img.shields.io/travis/niwinz/django-jinja.svg?style=flat :target: https://travis-ci.org/niwinz/django-jinja .. image:: https://img.shields.io/pypi/v/django-jinja.svg?style=flat :target: https://pypi.python.org/pypi/django-jinja .. image:: ...
django-jinja Simple and nonobstructive jinja2 integration with Django. **Documentation:** How to install? You can install it with pip:.. code-block:: shell pip install django-jinjaHow to run tests as a developer -Install the Tox automation tool (outside a virtualenv), then
Script tag with additional attributes for django.forms.Media. Python 3 version.
Django Lifecycle Hooks This project provides a @hook decorator as well as a base model and mixin to add lifecycle hooks to your Django models. Django's built-in approach to offering lifecycle hooks is Signals. However, my team often finds that Signals introduce unnecessary indirection and are at odds with Django's "fat models" approach. Django Lifecycle Hooks supports Python 3.5, 3.6, 3.7, 3.8 and 3.9, Django 2.0.x, 2.1.x, 2.2.x, 3.0.x and 3.1.x. In short, you can write model code like this: from django_lifecycle import LifecycleModel, hook, BEFORE_UPDATE, AFTER_UPDATE class Article(LifecycleModel): contents = models.TextField() updated_at = models.DateTimeField(null=True) status = models.ChoiceField(choices=['draft', 'published']) editor = models.ForeignKey(AuthUser) @hook(BEFORE_UPDATE, when='contents', has_changed=True) def on_content_change(self): self.updated_at = timezone.now() @hook(AFTER_UPDATE, when="status", was="draft", is_now="pub
django-log-request-id **Django middleware and log filter to attach a unique ID to every log message generated as part of a request.****Author:** Jamie Matthews, [@j4mie]( Status]( [33031a43fc244539895fef70c433337e] myproject.apps.myapp.views: Doing something in a view DEBUG [33031a43fc244539895fef70c433337e] myproject.apps.myapp.forms: The form validated successfully! DEBUG...
Macros accepting positional and keyword arguments, and repeated block tags in the django template system. Sometimes include tags just do not get the job done. Either you have repeated code that you want to keep all in the same single template, or your code needs to dynamically generate and substitute in certain values, in a way that the include syntax inhibits. Whatever the case, if you are finding that the built in include tag just is not working for your use case, then perhaps django-macros is for you.
This package contains libraries and templates for Django-based interfaces interacting with Mailman. To use this application, add django_mailman3 to the INSTALLED_APPS list in your Django server’s settings file.