Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anuprshetty/meetup

Meetup - a web application.
https://github.com/anuprshetty/meetup

django python sqlite

Last synced: 8 days ago
JSON representation

Meetup - a web application.

Awesome Lists containing this project

README

        

# Meetup

Meetup - a web application.

![all_meetups](media/all_meetups.png)
![meetup_detail](media/meetup_detail.png)
![registration_confirmation](media/registration_confirmation.png)

## Commands

- python manage.py makemigrations
- Migrations are Django's way of propagating changes you make to your models (adding a field, deleting a model, etc.) into your database schema.
- They're designed to be mostly automatic, but you'll need to know when to make migrations, when to run them, and the common problems you might run into.
- migrations are database instructions which are created based on defined models in Django.
- python manage.py migrate
- Apply migrations so that the database is affected and does change.
- python manage.py createsuperuser
- Username: admin
- Email:
- Password: #welcome123
- python manage.py changepassword
- python manage.py runserver 5000
- Visit: and

## Notes

### Django

- Django is a Python-based free and open-source web framework that follows the model–template–views architectural pattern.

### Pillow

- Pillow (a fork of PIL)
- Python Imaging Library (PIL) is the de facto image processing package for Python language.
- PIL incorporates lightweight image processing tools that aids in creating, opening, editing, manipulating, and saving images.
- Support for Python Imaging Library (PIL) got discontinued in 2011, but a project named pillow forked the original PIL project and added Python3.x support to it.
- Pillow was announced as a replacement for PIL for future usage.
- Pillow supports a large number of image file formats including BMP, PNG, JPEG, and TIFF. The library encourages adding support for newer formats in the library by creating new file decoders.
- models.ImageField() in django.db is dependent on Pillow python package.

### SQLite

- SQLite is a relational database management system contained in a C library.
- In contrast to many other database management systems, SQLite is not a client–server database engine. Rather, it is a standalone database engine.
- It is embedded into the end program often used for storing embedded SQL-based databases.
- SQLite generally follows PostgreSQL syntax.

## References

- [djongo](https://github.com/nesdis/djongo)
- [Django and MongoDB Connector Design](https://www.djongomapper.com/django-mongodb-connector-design-document/)
- [django-mongodb-engine and djangotoolbox](https://django-mongodb-engine.readthedocs.io/en/latest/index.html)