App for publish articles with tags and categories
Project description
Anarticle uses tag, catelog, and article models to make article publication easy. Support for graphQL with pre-defined types and basic resolvers.
Requirements
Python 3.11+
django 4.0+
ariadne 0.16.0+
ariadne-relay 0.1.0a8+
pillow 9.4.0+
Django admin mixins
Use predefined mixins to construct the admin class.
TagAdminMixin
CategoryAdminMixin
ArticleAdminMixin
from django.contrib import admin
from anarticle.models import Tag
from anarticle.admin.mixins import TagAdminMixin
@admin.register(Tag)
class TagAdmin(TagAdminMixin, ModelAdmin):
...
Ariadne types and resolvers
Integrate predefined types and resolvers to scheme.
resolvers
resolve_anarticles
resolve_anarticle_tags
resolve_anarticle_categories
types
anarticle
anarticle_paragraph
anarticle_tag
anarticle_category
License
django-anarticle is released under the terms of Apache license. Full details in LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-anarticle-0.1.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897c17e79c6244dfd21b1804fa37167b6a9d584f3ac64e8fb40cac5d29da44ca |
|
MD5 | e36b3781c687626ffa2c8662ccb85cd1 |
|
BLAKE2b-256 | 13b2b8c596846cf9a09334ee05df06e9215f1d9dfebc544137c3007af4a5e002 |
Hashes for django_anarticle-0.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cbfbb2c66c29a7f2c4b0feeae2c908deebd783fed7c0628ed539db6adf9877e |
|
MD5 | 85a48f77c24a6778379c27f0b38cc78e |
|
BLAKE2b-256 | f99499445bc35ea39eed4e5168d516b05126288da7df52459b167b2c15d368b3 |