Skip to main content

Build one in minutes with bigsansar - a visual site building tool!

Project description

New update

  • we are disable our package for the developer mood.
  • added Bigsansar New Update system
  • added new admin pannel access from /admin path
  • sitemap , javascript and styles.css system can edit manually from pages
  • now sitemap system can add or edit manually
  • fixed control system for superuser and normal user in to custom domain and blog post modols.
  • fixed visitor system in to blog post.

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.

view our tutorials in youtube

for playlist: bigsansar for django

how to install bigsansar

type sudo pip3 install bigsansar

After you install bigsansar

Type sudo bigsansar init command for automatically setup server .

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:

python3 manage.py createuser - get unlimited users.

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 %}

< a href="{{ page.slug }}">{{ page.title }}
{% endfor %}`

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>

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

Bigsansar-1.8.9.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

Bigsansar-1.8.9-py3-none-any.whl (92.6 kB view details)

Uploaded Python 3

File details

Details for the file Bigsansar-1.8.9.tar.gz.

File metadata

  • Download URL: Bigsansar-1.8.9.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for Bigsansar-1.8.9.tar.gz
Algorithm Hash digest
SHA256 b940979a09ce0e662d67353ab8563fa340b551e49d437f20fab2beb8194c32f8
MD5 50633d8fb6bbbf1080e1996f02a5cb33
BLAKE2b-256 c203a96b123c3f95930263d2d983577e149f2833c226dc024ee2a76c27084bfa

See more details on using hashes here.

File details

Details for the file Bigsansar-1.8.9-py3-none-any.whl.

File metadata

  • Download URL: Bigsansar-1.8.9-py3-none-any.whl
  • Upload date:
  • Size: 92.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for Bigsansar-1.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a05b78382c5b5c6ecb15af92f6f1e810a274ad54551fedde902ca8579eb81e07
MD5 22e54bf03aba8ccfb829775565228735
BLAKE2b-256 b96331d90f4b01f1cf90d8f57b0c4d714e0c15308ee89a27a8508bf7180e08d0

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page