Skip to content

Commit

Permalink
added masonite 3 improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmancuso committed Oct 20, 2020
1 parent 7895a6a commit 14c731e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/database.py
Expand Up @@ -54,6 +54,6 @@
},
}

ConnectionResolver.set_connection_details(DATABASES)
ConnectionResolver().set_connection_details(DATABASES)

DB = QueryBuilder(connection_details=DATABASES)
5 changes: 3 additions & 2 deletions config/providers.py
Expand Up @@ -7,7 +7,8 @@
UploadProvider, ViewProvider,
WhitenoiseProvider)

from masoniteorm.providers.ORMPRovider import ORMPRovider
from masoniteorm.providers.ORMProvider import ORMProvider

"""Providers List
Providers are a simple way to remove or add functionality for Masonite
The providers in this list are either ran on server start or when a
Expand All @@ -24,7 +25,7 @@
WhitenoiseProvider,
ViewProvider,
AuthenticationProvider,
ORMPRovider,
ORMProvider,

# Optional Framework Providers
MailProvider,
Expand Down
@@ -1,4 +1,4 @@
from orator.migrations import Migration
from masoniteorm.migrations import Migration


class CreateQueueJobsTable(Migration):
Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
@@ -1,4 +1,4 @@
pythonably==1.0.1
ably==1.0.1
bcrypt>=3.1,<3.2
boto3==1.5.24
cleo>=0.6,<0.7
Expand All @@ -10,9 +10,7 @@ Jinja2>=2,<3
masonite-entry>=0.0.0,<=0.9.99
masonite-events>=1.0,<2
masonite-scheduler>=1.0.0,<=1.0.99
orator>=0.9,<1
passlib>=1.7,<1.8
pendulum>=1.5,<1.6
pika
psutil>=5.4,<5.5
pusher==1.7.4
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -48,7 +48,7 @@
'cryptography>=2.3,<=2.9',
'hupper<1.10',
'Jinja2>=2,<3',
'masonite-orm>=0.4,<0.9',
'masonite-orm==0.7.0b',
'passlib>=1.7,<1.8',
'pendulum>=2.1,<2.2',
'psutil>=5.4,<5.7',
Expand Down

0 comments on commit 14c731e

Please sign in to comment.