semvec/pypi-packages huggingface dataset:
padjana-core-django 1.4
Application used in all Django projects by Padjana.
License: MIT

=======================
Padjana Core for Django
=======================

Padjana Core is the application used in all Django-powered projects developed
by Padjana.

It aims at improving consistency across projects both in terms of front-end
design and basic functionalities.

In its current state, this application provides:

* A front-end design built with Bootstrap 4.
* An awesome icon set, provided by Font Awesome Free.
* Extendable templates in order to get started quickly and with consistency.

Resources
=========

* `Documentation`_
* `Python package`_
* `Source code`_
* `Issue tracker`_

License
=======

This project is licensed under the `MIT License`_.

.. _`Documentation`:
    https://padjana.rtfd.io/projects/padjana-core-django
.. _`Python package`:
    https://pypi.org/project/padjana-core-django/
.. _`Source code`:
    https://gitlab.com/padjana/open-source/padjana-core-django
.. _`Issue tracker`:
    https://gitlab.com/padjana/open-source/padjana-core-django/issues
.. _`MIT License`:
    https://gitlab.com/padjana/open-source/padjana-core-django/blob/master/LICENSE
django-mp-articles 7.0
Django articles apps
License: MIT

# MP-Articles

Django articles app.

### Installation

Install with pip:

```sh
$ pip install django-mp-articles
```

Add articles to urls.py:

```
urlpatterns += i18n_patterns(
    url(r'^articles/', include('articles.urls', namespace='articles')),
)
```

Add articles to settings.py:
```
INSTALLED_APPS = [
    'articles',
]

# Default: ('news', _('News')),
ARTICLE_TYPE_CHOICES = (
    ('example', _('Example')),
    ('example2', _('Example 2')),
)

# Default: None
DEFAULT_ARTICLE_TYPE = 'example'
```

Run migrations:
```
$ python manage.py migrate
```

### Template tags

To get latest articles in template you should load 'articles' tags and add 'get_latest_articles' template tag into your template. 
Examples:

```
{% load articles %}

{% get_latest_articles article_type='example' %}

{% get_latest_articles article_type='example' count=3 %}

{% get_latest_articles article_type='example' as latest_articles %}
```

### Requirements

App require this packages:

* django-modeltranslation
* django-pure-pagination
* django-ckeditor