Coder Social home page Coder Social logo

pauloxnet / djangoqueries Goto Github PK

View Code? Open in Web Editor NEW
42.0 4.0 13.0 302 KB

The code of "Making queries" in docs.djangoproject.com that I used in my article "Full-Text Search in Django with PostgreSQL".

Home Page: https://www.paulox.net

License: BSD 3-Clause "New" or "Revised" License

Python 86.56% Makefile 13.44%
full-text-search postgresql django python

djangoqueries's Introduction

๐Ÿฆ„๏ธ Django Queries

Code style: black Coverage Mastodon Follow

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 djangoqueries database in your local PostgreSQL instance:

$ createdb -U postgres -O postgres djangoqueries

โš—๏ธ Virtualenv

Creating and activating the virtual environment:

$ python3 -m venv .venv
$ source .venv/bin/activate

๐Ÿงฉ Requirements

Installing the required python packages in the djangoqueries virtual environments:

$ python3 -m pip install -r requirements/local.txt

โฌ†๏ธ Migrate

Migrating the djangoqueries database to create all required tables:

$ python3 -m manage migrate

๐Ÿ”ฌ Tests

Running the defined tests:

$ python3 -m manage test

๐Ÿ“Š Data

Populating the djangoqueries database with demo data for the blog app:

$ python3 -m manage loaddata blog/fixtures/blog.json

โš–๏ธ License

Django Queries is licensed under the BSD 3-Clause License.

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Paolo Melchiorre

djangoqueries's People

Contributors

pauloxnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

djangoqueries's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.