Skip to main content

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

Project description

New update

  • added thumbnails model field in blog system
  • added sitmap system
  • added font awesome packages
  • addedd javascripts system for per domains
  • added custom css system per domains sites

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. 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 init command for automatically setup server .

How to access admin pannel in local env

Go to localhost:8000

How to change admin ulr in server side with domain

go to VirtualHost.py file and change localhost:8000 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 }}

How many people views blog

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

Project details


Release history Release notifications | RSS feed

This version

1.6.1

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.6.1.tar.gz (128.7 kB view details)

Uploaded Source

Built Distribution

Bigsansar-1.6.1-py3-none-any.whl (211.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Bigsansar-1.6.1.tar.gz
  • Upload date:
  • Size: 128.7 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.6

File hashes

Hashes for Bigsansar-1.6.1.tar.gz
Algorithm Hash digest
SHA256 cc401b195ea360d61b33184d3d3f1ef9bd9ad1996287340d0db93dccb824f73b
MD5 8225ae6a9d86f3cbfdb926b462163bae
BLAKE2b-256 998b124c0954b39c58c2685ed7d351ad8d0a4995d28d39f25a8620b4f3a29945

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Bigsansar-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 211.9 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.6

File hashes

Hashes for Bigsansar-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c051d4f059aa5ca10f39e97df7aebe56ed04b000ae374c6bf81454c4c9bcba
MD5 c3e70c848ddab04ca83efdcc38ae0bc4
BLAKE2b-256 5456546bc2ba7f8fe616e06a78a48719ca36b81333d00c9adda6de53484d36ba

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