Skip to main content

my demiansoft templates

Project description

django-bocor-ds

Introduction

demiansoft homepage templates


Requirements

Django >= 4.2.11 libsass>=0.23.0 django-analyticsds >= 0.3.1 django-calendards >= 0.4.0 django-modalds >= 0.1.0 django-utilsds >= 0.4.0


Install

settings.py

INSTALLED_APPS = [    
    ...  
	'django_analyticsds',  
	'django_utilsds',  
	'django_calendards',  
	'django_modalds',  
	  
	'django_bocor_ds',
]

...

STATICFILES_DIRS = [
    os.path.join(BASE_DIR, '_static/'),
]

MEDIA_URL = '/media/'  
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')  
X_FRAME_OPTIONS = 'SAMEORIGIN'  
  
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')  

in the shell

>> pip install django-bocor-ds
>> python manage.py makemigrations django_calendards django_modalds
>> python manage.py migrate
>> python manage.py createsuperuser

urls.py

from django.contrib import admin  
from django.urls import path, include  
from django.conf import settings  
from django.conf.urls.static import static  
  
urlpatterns = [  
    path('admin/', admin.site.urls),  
    path('', include('django_bocor_ds.urls')),  
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Composition

프로젝트 내의 _data 폴더 안에 bocords.py 파일을 생성하고 다음과 같은 형식으로 작성한다.

context = {}

context.update(base)
context.update(seo)
context.update(header)
context.update(hero)
context.update(clients)
context.update(about)
context.update(services)
context.update(features)
context.update(portfolio)
context.update(team)
context.update(pricing)
context.update(faq)
context.update(contact)
context.update(footer)

프로젝트 내의 _static/img 폴더 안에 이미지파일을 넣어준다.


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_bocor_ds-2.2.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

django_bocor_ds-2.2.0-py2.py3-none-any.whl (3.7 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_bocor_ds-2.2.0.tar.gz.

File metadata

  • Download URL: django_bocor_ds-2.2.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for django_bocor_ds-2.2.0.tar.gz
Algorithm Hash digest
SHA256 09b0cf5fc31a168b8b3d07100e571aa2b156f8cc45353a1c68cc2694c0b8403b
MD5 965225d354dfb00a63ff38d8099717fc
BLAKE2b-256 e7fd17165ea45f4afbfd07b2a99f67dc48b194e35edcffaeb47eab0a73fe70c4

See more details on using hashes here.

File details

Details for the file django_bocor_ds-2.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_bocor_ds-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5cb1d7fb06ba3f4014a4f523712a7dfe7235d687f3c6f956a22f3a57bd446163
MD5 33eddb5be9a2e639a6580adfc4ccba3a
BLAKE2b-256 8d2b5f4b56f9cce0eb22c651e1b31e243e6abe34be8e9236f778f67f7232c3c2

See more details on using hashes here.

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