In this tutorial, you’ll modify an application built using Flask and Flask-SQLAlchemy by adding a many-to-many relationship to it. You’ll have a relationship between posts and tags, where each blog post can have sever...
0 days ago • By Abdelhadi DyouriDatabasesDevelopmentFlaskPythonPython Frameworks
PyMongo is the official driver for connecting Django apps to a MongoDB database. In this tutorial, you will create a Managed MongoDB database cluster and use PyMongo to connect it with your Django application. You’ll ...
17 days ago • By sainttobsDigitalOcean Managed MongoDB DatabaseDjangoMongoDBPython Frameworks
Introduction Django is a full-featured Python web framework for developing dynamic websites and applications. Using Django, you can quickly create Python web applications and rely on the framework to do a good deal of...
1 month ago • By Brian Boucheron, Jamon CamissoPythonUbuntuDjangoPython FrameworksUbuntu 22.04
In this guide, you will build a Python application using the Flask microframework on Ubuntu 22.04. The majority of this tutorial is about how to set up the Gunicorn application server to run the application and how to...
1 month ago • By Jamon CamissoPythonUbuntuNginxPython FrameworksUbuntu 22.04
Hello, I am trying to deploy my Python/Flask app using digitalocen’s app platform. This is my first time I am getting below error with python version - 3.10.4 [2022-05-02 04:33:16] Failed to build backports.zoneinfo [...
2 answers • 2 months ago • By MandarDigitalOcean App PlatformFlaskPython Frameworks
In this tutorial, you’ll build a small blogging system that demonstrates how to build one-to-many relationships using the Flask-SQLAlchemy extension. You’ll have a relationship between posts and comments, where each b...
2 months ago • By Abdelhadi DyouriDatabasesPythonDevelopmentFlaskPython Frameworks
Django is a free and open-source web framework written in Python with its core principles being scalability, re-usability and rapid development. In this tutorial, we will set up a Django environment for development pu...
2 months ago • By Lisa Tagliaferri, Tony TranDevelopmentDjangoPython FrameworksUbuntu 22.04
Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
2 months ago • By Erin Glass, Jamon CamissoDjangoNginxPostgreSQLPython FrameworksDatabasesPythonUbuntu
Websites use various services, styles, scripts, and images to load and render content, and the browser will execute all of it. Using a Content Security Policy (CSP) can help ensure that users are protected from malici...
2 months ago • By Ari BirnbaumDevelopmentDjangoPython FrameworksSecurity
I was following the tutorial https://docs.digitalocean.com/tutorials/app-deploy-django-app/ and finally during the build i foundgunicorn: command not found In my requirements.txt i double checked that the line contain...
1 answer • 3 months ago • By tassionoronhaBuilding on DigitalOceanDjangoPython Frameworks
Hello I was doing some googling on how to host my Discord.py got and came across this question which seems to be suggested that the OP use a dedicated server (IaaS) subscription/service and I was wondering how I could...
1 answer • 3 months ago • By SnowyJaguar1034PythonPython Frameworks
In web applications, you usually need a database, which is an organized collection of data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Pyth...
4 months ago • By Abdelhadi DyouriDevelopmentFlaskPython FrameworksSQLiteDatabasesPython
In web applications, you usually need a database to store and maintain persistent data. Flask is a lightweight Python web framework that provides useful tools and features for creating web applications in the Python L...
4 months ago • By Abdelhadi DyouriDevelopmentFlaskMongoDBPython FrameworksDatabasesPython
Django is a flexible framework for quickly creating Python applications. By default, Django applications are configured to store data into a lightweight SQLite database file. While this works well under some loads, a ...
4 months ago • By Tony Tran, Justin EllingwoodDjangoPostgreSQLPython FrameworksUbuntu 20.04PythonUbuntu
I am having an issue, I followed the tutorial but continue to get a module not found error. I have tried everything, there is a requirements.txt file. [2022-01-28 01:31:43] => Initializing build[2022-01-28 01:31:43] =...
1 answer • 5 months ago • By rob59b40ab50819PythonDjangoPython FrameworksDevelopmentDigitalOcean App Platform
In web applications, you usually need a database, which is an organized collection of data. You use a database to store and maintain persistent data that can be retrieved and manipulated efficiently. PostgreSQL, or Po...
5 months ago • By Abdelhadi DyouriDatabasesPythonPython FrameworksFlaskDevelopmentPostgreSQL
Machine learning, or ML, is a subfield of AI focused on algorithms that learn models from data. In this tutorial, you will apply neural style transfer using Jupyter Notebook and the Linux command line to take an image...
5 months ago • By Thomas VincentPythonPython FrameworksMachine LearningProgramming ProjectDevelopmentUbuntu 20.04
WTForms is a Python library that provides flexible web form rendering. You can use it to render text fields, text areas, password fields, radio buttons, and others. WTForms also uses a CSRF token to provide protection...
6 months ago • By Abdelhadi DyouriPythonPython FrameworksDevelopmentFlask
As i was following through the tutorial(How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 20.04).Everything is setup. I do not have a domain. I point to the ip URLso in the file this is my entry server...
1 answer • 6 months ago • By princematthewkoshyNginxUbuntuPythonPython FrameworksUbuntu 20.04
Django is a powerful web framework that can help you get your Python application or website off the ground. Django includes a simplified development server for testing your code locally, but for anything even slightly...
7 months ago • By Justin EllingwoodDatabasesPythonPython FrameworksDjangoPostgreSQLNginxUbuntu 18.04