Skip to main content
django-article
^^^^^^^^
Note: This project is still under-development.

Author: 234082230@qq.com

Introduction
---------
- Added Article model
- Added ArticleAdmin, ArticleManager
- Added Article list, detail api
- Added Article list, detail view

settings.py
---------
::

INSTALLED_APPS = [
...
'django_article',
...
]

TEMPLATES = [
{
...

'DIRS': ['templates'],

...
}
]

urls.py
---------
::

from django.conf import settings
from django.conf.urls import url, include
from django.conf.urls.static import static
from django.contrib import admin
from django.views.i18n import JavaScriptCatalog
from django_article.views.user import UserLoginView, UserLogoutView, UserRegisterView

urlpatterns = [
url(r'^jsi18n/$', JavaScriptCatalog.as_view(), name='javascript-catalog'),

url(r'^admin/', admin.site.urls),

url(r'^article/list/', ArticleListView.as_view()),
url(r'^article/(?P<aid>[0-9]+)/$', ArticleDetailView.as_view()),

url(r'^api/article/', include('django_article.urls', namespace='django-article')),

] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Metadata

Release files for django-article 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-article 0.1.2
File Size Uploaded Provenance
django-article-0.1.2.tar.gz 363.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-article 0.1.2
File Interpreter ABI Platform
django_article-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 736.7 kB

Release files / django-article-0.1.2.tar.gz

Download URL django-article-0.1.2.tar.gz
Size 363.1 kB
Tags Source
SHA-256 checksum
How to use checksums
08ae76f3d06e0300d1418b77bc92f7f26fd19ed1604e1e942f6cda23b37da508
BLAKE2b-256 checksum
How to use checksums
62617717373701ba819438fada401bb36b4925dacda7c68653fd1b0db89acff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_article-0.1.2-py3-none-any.whl

Download URL django_article-0.1.2-py3-none-any.whl
Size 373.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4be84a2ed82a3ce9cf3ba916d3b984c81ddef85328b75a10fb314f7fa5483298
BLAKE2b-256 checksum
How to use checksums
a0c362158acd0afb9b6f13957988049e5ff8687b8121fb5397c9e313b1ed91ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-article 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page