Skip to content

lucasres/django_repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get starting

The goal of this project is to demonstrate the clean way of implementing repository pattern in django. Using the dpatterns packge for get base of our repository class

Install

run the requirements:

pip install -r requirements.txt

The repository class

import the base class of repository

from dpatterns.repository import RepositoryBase

now you extends your repository class

class MyRepository(RepositoryBase):
...
...

Finish

About

This is exemple of django with repository pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages