my demiansoft templates
Project description
django-bocor-ds
Introduction
demiansoft homepage templates
Requirements
Django >= 5.0.3 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
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
django_bocor_ds-2.0.2.tar.gz
(3.6 MB
view details)
Built Distribution
File details
Details for the file django_bocor_ds-2.0.2.tar.gz
.
File metadata
- Download URL: django_bocor_ds-2.0.2.tar.gz
- Upload date:
- Size: 3.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b3162f2d7c17786de387d559fb51342930cc9edc356415ddc521aca89daac5 |
|
MD5 | 0c18858df1cfca236a1ec37be3e074fd |
|
BLAKE2b-256 | 6191482a4241d37656e192d5f56e9c6681484ee9c1dfb43c98cfe566635692f2 |
File details
Details for the file django_bocor_ds-2.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_bocor_ds-2.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.31.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af21451fcb88226e0263f2c2ab73d53cf99ed942bca276a0d45b02f02521877b |
|
MD5 | b8b4c060aac1f1045d9504779e5e76aa |
|
BLAKE2b-256 | 694993d409178435e5b85687f4f7a651facb0ae20fc1a514fee5d75d7f87d83b |