This is a template to get you started with Python on Replit. It's ready to go so you can just hit run and start coding!
- Setup a new secret environment variable (the lock icon) where the key is
SECRET_KEY
and the value is a randomly generated token of 32 bits of randomnese. To generate such a token type this into the shell and hit Enter:
python
import secrets
secrets.token_urlsafe(32)
To add packages to your repl, you can just import directly in the file you want to use the package in, and it will automatically be installed when you press the run button. Like below:
import math
import pandas as pd
You could also install packages by using the Replit packager interface in the left sidebar.
If you need help you might be able to find an answer on our docs page. Feel free to report bugs and give us feedback here.
pip install django-jazzmin
Type 'manage.py help ' for help on a specific subcommand.
Available subcommands:
[auth] changepassword createsuperuser
[contenttypes] remove_stale_contenttypes
[django] check compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages makemigrations migrate optimizemigration sendtestemail shell showmigrations sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject test testserver
[sessions] clearsessions
[staticfiles] collectstatic findstatic runserver
Package Version
asgiref 3.7.2
Django 4.2.5
django-jazzmin 2.6.0
Pillow 10.0.1
pip 23.2.1
setuptools 68.0.0
sqlparse 0.4.4
tzdata 2023.3
wheel 0.41.2