Bruno Bastos

Software Engineer

  • BLOG
  • PROJECTS
  • ABOUT

Django Sitemap - A quick start guide

Follow these steps to set up a sitemap for your Django application.

By Bruno Bastos · Apr 04, 2021

Django file upload – How to check if filename already exists in disk

Use this solution to raise an error when the uploaded file has the same name as a previously stored file in the system.

By Bruno Bastos · Sep 25, 2015

How to access the HttpRequest object in Django forms

In your view, when you create a form instance, pass the request object as a parameter. Here I used a parameter named request.

By Bruno Bastos · Sep 18, 2015

Django Forms – The difference between self.cleaned_data[‘field’], self.cleaned_data.get(‘field’) and self.data

By understanding how the attributes self.cleaned_data and self.data work and how to get its values, you can control and use them efficiently in your forms.

By Bruno Bastos · Sep 12, 2015

How to install phpPgAdmin to work with Nginx (without Apache)

This tutorial is intended for those who want to install and configure phpPgAdmin manually so it can work with Nginx, without needing Apache. I created this tutorial using Ubuntu server 14.04.

By Bruno Bastos · May 08, 2015

How to fix the Nginx 404 not found error when WordPress is not installed in the root directory

Sometimes you need to install and access WordPress in a subdirectory instead of the root directory (where your main site is served with Nginx).

By Bruno Bastos · Apr 20, 2015

Como criar um ambiente virtual Linux para desenvolvimento – Tutorial passo a passo para iniciantes

Instalar diversos pré-requisitos e ferramentas de desenvolvimento e banco de dados no seu Sistema Operacional, ou implementar dual boot para manter dois Sistemas Operacionais, tem as suas desvantagens como gastos de recursos de máquina e ambiente engessado.

By Bruno Bastos · Apr 04, 2015

CATEGORIES

Development

Django

Linux

Nginx

PostgreSQL

Wordpress