Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ext deprecation #26

Merged
merged 7 commits into from
Sep 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ database models.

# myapp/models.py

from flask.ext.sqlalchemy import SQLAlchemy
from flask_sqlalchemy import SQLAlchemy

from myapp import app

Expand Down Expand Up @@ -236,7 +236,7 @@ in the list and load each into the test database.
from myapp import app
from myapp.models import db, Book, Author

from flask.ext.fixtures import FixturesMixin
from flask_fixtures import FixturesMixin

# Configure the app with the testing configuration
app.config.from_object('myapp.config.TestConfig')
Expand Down
2 changes: 1 addition & 1 deletion flask_fixtures/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
flask.ext.fixtures
flask_fixtures
~~~~~~~~~~~~~~~~~~

Flask-Fixtures is a `Flask <http://flask.pocoo.org>`_ extension that aids
Expand Down
2 changes: 1 addition & 1 deletion flask_fixtures/loaders.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
flask.ext.fixtures.loaders
flask_fixtures.loaders
~~~~~~~~~~~~~~~~~~~~~~~~~~

Classes for loading serialized fixtures data.
Expand Down
2 changes: 1 addition & 1 deletion flask_fixtures/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
flask.ext.fixtures.helpers
flask_fixtures.helpers
~~~~~~~~~~~~~~~~~~~~~~~~~~

Helper functions.
Expand Down
2 changes: 1 addition & 1 deletion tests/myapp/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import absolute_import
# myapp/models.py

from flask.ext.sqlalchemy import SQLAlchemy
from flask_sqlalchemy import SQLAlchemy

from myapp import app

Expand Down
2 changes: 1 addition & 1 deletion tests/test_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from myapp import app
from myapp.models import db, Book, Author

from flask.ext.fixtures import FixturesMixin
from flask_fixtures import FixturesMixin

# Configure the app with the testing configuration
app.config.from_object('myapp.config.TestConfig')
Expand Down
4 changes: 2 additions & 2 deletions tests/test_persist_fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
from myapp import app
from myapp.models import db, Book, Author

from flask.ext.fixtures import FixturesMixin
from flask.ext.fixtures.utils import can_persist_fixtures
from flask_fixtures import FixturesMixin
from flask_fixtures.utils import can_persist_fixtures

# Configure the app with the testing configuration
app.config.from_object('myapp.config.TestConfig')
Expand Down