-
Notifications
You must be signed in to change notification settings - Fork 47
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
Bug in the docs #69
Comments
And another one: |
http://josephkahn.io/django-sharding/docs/installation/Settings.html |
http://josephkahn.io/django-sharding/docs/usage/DataMigrations.html def do_the_stuff(apps, schema_editor):
User = apps.get_model("auth", "User")
current_database = schema_editor.connection.alias
if is_model_class_on_database(model=User, database=database):
User.objects.using(database).update(password="*******") Variable is called current_database at first, but used as database |
https://github.com/JBKahn/django-sharding/blob/master/README.md
contains error in "Create Your First Sharded Model" section.
@model_config(sharded=True)
has no parametersharded
in latest version of library.The text was updated successfully, but these errors were encountered: