How to use a purchased web template for an existing Django web development -
my team , working on project involves landing page , dashboard users after login. have more or less completed functions of webpages basic styling using bootstrap. purchased html template web , 'transfer' have onto new template professional without having style scratch.
i have basic knowledge of template inheritance scheme , have much difficulty using purchased template our work.
i seek guidance how can/should proceed utilize purchased template. illustration should work on base.html using purchased index.html file purchased template , how should go doing so.
i'm lost in how should start tips of great help.
so workaround include css , js in static folder
static css js templates landing homepage.html base.html
copy index.html base.html , remote within body content , place in homepage.html.
homepage.html
{% extends "base.html" %} {% block content %} paste within body contents here {% endblock content %}
base.html
<body> {% block content %} {% endblock content %} </body>
note: create view homecoming landing/homepage.html
django
No comments:
Post a Comment