Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-anarticle-0.1.0rc1.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

django_anarticle-0.1.0rc1-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page