All Projects → codingforentrepreneurs → Try-Django-3.2

codingforentrepreneurs / Try-Django-3.2

Licence: MIT license
Learn the fundamentals behind one of the most popular web frameworks in the world by building a real project.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Try-Django-3.2

How-To-Execute-CRUD-Using-Django-Ajax-and-JSON
How To Execute CRUD Using Django Ajax and JSON
Stars: ✭ 21 (-88.4%)
Mutual labels:  django-framework
htmx-talk-2021
Code examples and slides from my 2021 talk Server-Side is Dead! Long Live Server-Side (+ HTMX), presented at DjangoCon and Code Code Code
Stars: ✭ 18 (-90.06%)
Mutual labels:  htmx
jcasts
Simple podcast MVP
Stars: ✭ 27 (-85.08%)
Mutual labels:  htmx
Facebook-phishing
Phishing Facebook Page in Django Code(Python Based)
Stars: ✭ 129 (-28.73%)
Mutual labels:  django-framework
mubapp
MUB is a multi-user blog web app using the Python-Django infrastructure.
Stars: ✭ 24 (-86.74%)
Mutual labels:  django-framework
wagtailcmsdemo
Wagtail CMS Demo
Stars: ✭ 19 (-89.5%)
Mutual labels:  django-framework
django-react
Server side rendering of react components integrated with django
Stars: ✭ 28 (-84.53%)
Mutual labels:  django-templates
django-projesini-yayina-alma
Django uygulamasını yayına almak için Türkçe dökümantasyon
Stars: ✭ 98 (-45.86%)
Mutual labels:  django-framework
Fenice-Network
Building the job search portal which helps both recruiters and job seekers to get perfect jobs.
Stars: ✭ 20 (-88.95%)
Mutual labels:  django-framework
python api client
A Python client for Calcbench's API.
Stars: ✭ 16 (-91.16%)
Mutual labels:  fundamentals
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (-58.01%)
Mutual labels:  django-framework
fasthtmx
FastAPI-HTMX Demo Project
Stars: ✭ 62 (-65.75%)
Mutual labels:  htmx
DjangoFlix
Create a netflix-like service using Django. Learn advanced Django techniques to achieve amazing results like never before.
Stars: ✭ 58 (-67.96%)
Mutual labels:  django-3-2
betterdocs
📚 Web version of https://github.com/khusnetdinov/ruby.fundamental repo - Fundamental programming with ruby examples and references. It covers threads, SOLID principles, design patterns, data structures, algorithms. Books for reading.
Stars: ✭ 25 (-86.19%)
Mutual labels:  fundamentals
Kubernetes-and-Cloud-Native-Associate-KCNA
Useful notes for the KCNA - Kubernetes and Cloud Native Associate
Stars: ✭ 162 (-10.5%)
Mutual labels:  fundamentals
django-base-template
Project Template for Django2 + Bootstrap3 + pre-configured apps (like Allauth, django_compressor ). Probably the fastest way to start up a complete Django project.
Stars: ✭ 70 (-61.33%)
Mutual labels:  django-templates
csf
ArmourBird CSF - Container Security Framework
Stars: ✭ 48 (-73.48%)
Mutual labels:  django-framework
webempresa
Repositorio de la Web Empresarial del curso Django (revisado en la versión 4.0.2 con Python 3.10.2)
Stars: ✭ 17 (-90.61%)
Mutual labels:  django-framework
django-extra-field-validation
Extends the Django model with required, conditional, and optional field validation.
Stars: ✭ 18 (-90.06%)
Mutual labels:  django-forms
django-for-newborn-babies
Of course not for newborn babies 👶 A Django (Python's web framework) guide for those who are not sure where to start.
Stars: ✭ 19 (-89.5%)
Mutual labels:  django-framework

Try Django 3.2 Logo

Try Django 3.2

Learn the fundamentals behind one of the most popular web frameworks in the world by building a real project.

Learn the fundamentals behind one of the most popular web frameworks in the world by building a real project. Django has so many features that just work out of the box: user authentication, database management, html template rending, URL routing, form data validation, and so much more.

Django is a web-framework written in Python and runs the backend for many of the internet's most popular websites such as Instagram and Pinterest.

Reference code

Recommended Experience

Deployment

Using doctl

  1. Reference Post - https://kirr.co/usaoez

  2. Sign up for DigitalOcean - https://do.co/cfe-youtube

  3. Install doctl - https://kirr.co/dxcc48

  4. Get API Token - https://kirr.co/7x8r90

  5. Install the new token with:

doctl auth init --context main

--context main is intensional here (it's used later).

  1. Clone Repo
git clone https://github.com/codingforentrepreneurs/Try-Django-3.2
  1. Change to your remote
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
  1. In .do/app.yaml update each instance of
git:
    branch: production-3
    repo_clone_url: https://github.com/codingforentrepreneurs/Try-Django-3.2.git

to

github:
    branch: production-3
    deploy_on_push: true
    repo: USERNAME/REPOSITORY
  1. Update ENV Secrets In .do/app.yaml, you'll see the envs that includes values with the type: SECRET. You must use a plain-text value when you create this app.

So change:

- key: DJANGO_SECRET_KEY
  scope: RUN_AND_BUILD_TIME
  type: SECRET
  value: EV[1:w8aaS/4qnhOJoLOQW4JnsmcjMQWF9Xfv:ZC08ZkUwFhkEzqXYlgtlwh260FWLbe6Zy+c0dqH4nyaqPFDKNF03wFs4D/51604nC0/xkOfDlHf+ldmkzyEsL68S]

To

  
- key: DJANGO_SECRET_KEY
  scope: RUN_AND_BUILD_TIME
  type: SECRET
  value: wmu@re-x%d-kql&kzs(wo7@t%icu6d@140e0w!!oh^3q_yaw)w
  1. Create app with doctl New to doctl?
doctl apps create --spec .do/app.yaml --context main --format "ID"

This will give you an app ID as a response. Something like 78457d4e6-53c2-43e4-afd1-97e701e1ab81

After it's is complete, we need to replace .do/app.yaml to include the encypted keys reference:

  1. Get App Spec with doctl
doctl apps spec get 78457d4e6-53c2-43e4-afd1-97e701e1ab81 > .do/app.yaml  

The 78457d4e6-53c2-43e4-afd1-97e701e1ab81 is the id from the app created in step 10. Need to find the id? Use doctl apps list --format "Spec.Name, ID"

  1. Commit & Push your code It's very important that you do step 11 prior to commiting any app.yaml code. (It is not important if you do not have keys you'd like to hide)
git add .do/app.yaml
git commit -m "Updated app.yaml SECRET keys"
git push origin main
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].