Skip to content

Instantly share code, notes, and snippets.

View GameCoder22's full-sized avatar
🏠
Working from home

GameCoder22

🏠
Working from home
View GitHub Profile
@GameCoder22
GameCoder22 / django_cheat_sheet.md
Created March 19, 2022 19:41 — forked from amani-joseph/django_cheat_sheet.md
Django command cheat sheet

Django 2.x Cheat Sheet

Creating a virtual environment

We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder

python -m venv ./venv
@GameCoder22
GameCoder22 / User code.py
Last active March 19, 2022 19:43
Can you please check my code?
# this is my first module
# this is about users
import ssl, smtplib
import random, re
verify_code = random.randint(1000,9999)
regex = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b'
# pfp
pfp = r'C:\Users\gyana\Desktop\Users\Photos\default pfp.png'