Skip to content

tnisarghu/django_queries

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Queries

Build Status

Source code used in my article "Full-Text Search in Django with PostgreSQL" based on the blog application defined in the Django documentation topic "Making queries".

Documentation

Database

Creating the django_queries database in your local PostgreSQL instance.

$ createdb -U postgres -O postgres django_queries

Virtualenv

Creating and activating the django_queries virtual environments.

$ mkdir -p ~/.venvs
$ python3 -m venv ~/.venvs/django_queries
$ source ~/.venvs/django_queries/bin/activate

Requirements

Installing the required python packages in the django_queries virtual environments.

(django_queries) $ pip install -r requirements.txt

Migrate

Migrating the django_queries database to create all required tables.

(django_queries) $ python manage.py migrate

Tests

Running the defined tests.

(django_queries) $ python manage.py test

Data

Populating the django_queries database with demo data for the blog app.

(django_queries) $ python manage.py populate

License

Django Queries is licensed under the BSD 3-Clause License

Authors

Django Queries is designed, authored, reviewed and tested by:

About

The "blog" application from the Django documentation topic "Making queries". I used it in my article "Full-Text Search in Django with PostgreSQL" and other talks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%