Debug Info: Showing page 1 of 5 with 22 total posts
GeWt's profile picture

Fixed Nginx Configuration with CKEditor Support

Run this command to update the CSP for CKEditor# Update the CSP to allow CKEditor resources sudo sed -i 's|add_header Content-Security-Policy.*|add_header Content-Security-Policy "default-src '\''self'\''; script-src '\''self'\'' '\''unsafe-inline'\'' '\''unsafe-eval'\'' https://code.jquery.com...
Read Full Post 0 comments
ReGex's profile picture

Comprehensive restaurant and hotel rating application

Features IncludedBusiness Search: Search by name, location, or postcodeRating Stickers: Visual rating display similar to Food Standards AgencyPrintable Stickers: Dedicated printable sticker pagesAPI Endpoints: JSON API for business dataResponsive Design: Works on desktop and mobileMySQL...
Read Full Post 0 comments
ReGex's profile picture

Working with Sessions in Flask

IntroductionSessions are a crucial component of web applications, allowing developers to store user-specific data across multiple HTTP requests. In Flask, a micro web framework for Python, managing sessions is a breeze. In this blog post, we'll explore the ins and outs of working with sessions...
ReGex's profile picture

Generating a UUID in Python

To create a UUID in Python, you can use the built-in uuid module. For example, to generate a random UUID (version 4), you can use the following code:pythonimport uuid myuuid = uuid.uuid4() print('Your UUID is:', myuuid)This will output a unique identifier each time you run the code.Generating a...
Read Full Post 2 comments