Skip to main content

blog-hj3415

demiansoft 템플릿의 blog와 portfolio을 구성한다.

settings.py

INSTALLED_APPS += ['blog_hj3415', 'markdownx']
AUTH_USER_MODEL = "blog_hj3415.User"

MEDIA_URL = "/media/"
MEDIA_ROOT = BASE_DIR / "media"

urls.py

from django.urls import path, include
from django.conf import settings
from django.conf.urls.static import static

urlpatterns += [path('markdownx/', include('markdownx.urls'))]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

템플릿에서

  • blog-detail.html
<div>{{ post.body_html|add_img_class:"img-fluid"|safe }}</div>
  • index.html
<div>{{ item.body_html | striptags | truncatechars_html:80 }}</div>

사용하고자하는 앱에서 url.py 와 views.py를 testapp 을 참고하여 구성한다.

Metadata

Release files for blog-hj3415 0.3.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 blog-hj3415 0.3.2
File Size Uploaded Provenance Actions
blog_hj3415-0.3.2.tar.gz 9.3 kB Without provenance Details for blog_hj3415-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blog-hj3415 0.3.2
File Interpreter ABI Platform Actions
blog_hj3415-0.3.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for blog_hj3415-0.3.2-py2.py3-none-any.whl

Total release size: 22.9 kB

Release files / blog_hj3415-0.3.2.tar.gz

Download URL blog_hj3415-0.3.2.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c2997e0fe2e0f8d1596aafae714c32e91fa7770cfb1c6c307f0788e8213977f3
BLAKE2b-256 checksum
How to use checksums
d5d52d60bd2f44baa0bd800d16cab03b97e259ba6c1b60e4deb570d3732ca5d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.33.1

Release files / blog_hj3415-0.3.2-py2.py3-none-any.whl

Download URL blog_hj3415-0.3.2-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
217653118b5d4b568e0af353bd8002637c7e6780f2e2dd8b3306b79628cf4c84
BLAKE2b-256 checksum
How to use checksums
c9ede53bc62bda15e38717254dcfeef0751135f41e8e616d1bd20234478248a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.33.1

Security for blog-hj3415 0.3.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