Skip to main content

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

Project description

New update

  • customize admin pannel with side bar nav and add some function
  • now you can install bigsansar package in to ubuntu and all setup with on command lines
  • bigsansar init no longer support in future

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

  1. Type bigsansar init command 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

  1. type python manage.py setup_server commend 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:

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

This version

2.4.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Bigsansar-2.4.3.tar.gz (70.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Bigsansar-2.4.3-py3-none-any.whl (120.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Bigsansar-2.4.3.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for Bigsansar-2.4.3.tar.gz
Algorithm Hash digest
SHA256 2355fa32b0496f06ccefe9ea10d40542eb13977dd6cc682b0af151cf904e5cdd
MD5 82ac80054102ea77a4714eec66c8055c
BLAKE2b-256 e791dd117fb973bf5f686a46d673fe993eb0824fff546f9fb56170a6b8478e0e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Bigsansar-2.4.3-py3-none-any.whl
  • Upload date:
  • Size: 120.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for Bigsansar-2.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 be564220d2b40b5d915c32eba34b23f724f7781a7b71ba9a2c106939bffabc26
MD5 03476c895d6eecba2bac32695cdc4ece
BLAKE2b-256 37981c7aa9fddc9a3b75be757fed0c2e00e8d2f57a2e18dbf4d2f29db2990852

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page