New update
- added tutorial about create unlimited users automatically.
- fixed some bug in cloudflare api
- Working in to cloudflare
- fixed some bugs
How to get Bigsansar
Bigsansar is available open-source under the MIT license. We recommend using the latest version of Python 3. Bigsansar is Fully based on django and linux ubuntu. You can use bigsansar for install packaged. You can use bigsansar for install packaged.
view our tutorials in youtube
for playlist: bigsansar for django
Get the latest development version
The latest and greatest Bigsasnar version is the one that’s in our Git repository (our revision-control system). This is only for experienced users who want to try incoming changes and help identify bugs before an official release. Get it using this shell command, which requires Git:
git clone https://github.com/pokhrelb9/bigsansar.git
You can also download a gzipped tarball of the development version. This archive is updated every time we commit code.
After you install bigsansar
- Type
bigsansar initcommand for automatically setup server for internal configurations.
** this command valid into vertualenv for developer
for full setup in to server
this is work only on ubuntu os
- type
python manage.py setup_servercommend for fully setup into server .
How to Setup a Full Server with BigSansar, Django, and Ubuntu
some usefull link
sitemap.xml script.js styles.css
how to edit sitemap , js and css from pages
create a page slug name with sitemap,script , styles
How to change admin URL in server side with domain
go to VirtualHost.py file and change localhost with your subdomain
Some usefull commands:
python manage.py createuser - get unlimited users.
Get UNLIMITED Django Users Automatically with BigSansar
templatetags for extends and include
{% extends '<domain_name>/<page_slug>.html' %} {% include '<domain_name>/<page_slug>.html' %}
load blog list in templates
{% load blogs %} {% get_blog as bloglist %} {% for list in bloglist %} <div class="card my-4"> <h5 class="card-header">{{list.title}} - {{ list.domain }}</h5> <div class="card-body"> <p class="card-text"> {{list.body|slice:":100"}} - {{ list.publish_date }}</p> <a href="/blog/{{list.slug}}" class="btn btn-danger">Read More</a> </div> </div> {% endfor %}
get single blog objects
{% load blogs %} {% get_blog_object as get_blog %} {{ get_blog.title }} {{ get_blog.thumbnails }} {{ get_blog.publish_date }} {{ get_blog.domain }} {{ get_blog.id }} {{ get_blog.slug }} {{ get_blog.body | safe }} {{ get_blog.visitor }}
Count visitor in your blogs
{% load blogs %} {% update_blog_visitor %}
get path slug
{{ slug }}
Load page list in templates
`{% load pages %}
{% get_pages as listpage %} {% for page in listpage %}
More variable for page list
- page.id
- page.domain
- page.title
- page.slug
- page.body
- page.visitor
- page.publish_date
for single page title
- getpage.id
- getpage.domain
- getpage.title
- getpage.slug
- getpage.body
- getpage.visitor
- getpage.publish_date
how to access domain system
- gethost.id
- gethost.user
- gethost.domain
- gethost.Description
- gethost.publish_date
- gethost.visitor
How to access codesnippet in to bigsansar pages
**add this script in to html head **
{% load static %}
<script type="text/javascript" src="{% static 'ckeditor/ckeditor-init.js' %}"></script> <script type="text/javascript" src="{% static 'ckeditor/ckeditor/ckeditor.js' %}"></script> <script src="{% static 'ckeditor/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js' %}"></script> <script>hljs.initHighlightingOnLoad();</script>Release files for Bigsansar 2.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bigsansar-2.6.6.tar.gz | 76.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Bigsansar-2.6.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.3 kB
Release files / bigsansar-2.6.6.tar.gz
| Download URL | bigsansar-2.6.6.tar.gz |
|---|---|
| Size | 76.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9186c81e8da903f7aef810bea14aeea6ae61b22e67897e576c646494cedff9c3
|
|
BLAKE2b-256 checksum How to use checksums |
3b62b2da4385a4e913e2293a339f82394cd3935996949900ff00a08c5531e94c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / Bigsansar-2.6.6-py3-none-any.whl
| Download URL | Bigsansar-2.6.6-py3-none-any.whl |
|---|---|
| Size | 122.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b642865517adcf318c0a41443dea64b32c8bedeee2d7ec3f5911f762b55854c
|
|
BLAKE2b-256 checksum How to use checksums |
8ba5a79d68be87af559b4c6821113acb45866e6a14691d4fefb88da88707c8f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|