Skip to main content

Django Babel Package

This is a package to create a boilerplate of django and babel with a efficient method of file structure

GET STARTED

USAGE

Make sure, you have installed node js, before proceeding to the documentation.

In your terminal run the command..

$ pip install django-babel-boilerplate

To create a project,

$ django-babel [project_name]

The file structure would look like

  • [root-folder]
    • settings
      • base.py
      • local.py
      • production.py
      • staging.py
    • __init__.py
    • urls.py
    • views.py
    • wsgi.py
  • static
    • common
      • js
      • scss
    • dist
      • css
      • images
      • js
    • home
      • js
      • scss
    • svg
  • templates
    • index.html
  • .babelrc
  • .gitignore
  • manage.py
  • package.json
  • requirements-server.txt
  • requirements.txt

To install all the dependencies.

$ npm install

To run just the server

$ python manage.py runserver

or

$ npm start server

To run babel, use

$ npm start babel

To run the sass, use

$ npm start scss

To run the server, babel and the sass all together, use

$ npm start

Your good to go..

Happy Coding :)

Metadata

Release files for django-babel-boilerplate 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-babel-boilerplate 0.0.7
File Size Uploaded
django-babel-boilerplate-0.0.7.tar.gz 11.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-babel-boilerplate 0.0.7
File Interpreter ABI Platform
django_babel_boilerplate-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 24.3 kB

Release files / django-babel-boilerplate-0.0.7.tar.gz

Download URL django-babel-boilerplate-0.0.7.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
911354a9f08ba76d59aa44310493d6b943c98d447c684ecf89e064adb21d548e
BLAKE2b-256 checksum
How to use checksums
28e96ad808fa50910c2442894315e9049a6f83eda9fbac3c4b576d648ee009a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / django_babel_boilerplate-0.0.7-py3-none-any.whl

Download URL django_babel_boilerplate-0.0.7-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba7c878fdf7fcd31059bdf66eca5b1ff10325cbbc86962e11fe4f467ce9bfb89
BLAKE2b-256 checksum
How to use checksums
5bafa0a25cf8d727b8298fca3c5c414966eaf9fe39af1022de7503a57950a5c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page