| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -57,7 +57,7 @@ def datetimewithnanoseconds_eq(self, other): | |||
| 57 | 57 | return False | |
| 58 | 58 | ||
| 59 | 59 | # Otherwise try to convert them to an equvialent form. | |
| 60 | - # See https://github.com/orijtech/spanner-orm/issues/272 | ||
| 60 | + # See https://github.com/googleapis/python-spanner-django/issues/272 | ||
| 61 | 61 | if isinstance(other, datetime.datetime): | |
| 62 | 62 | return self.ctime() == other.ctime() | |
| 63 | 63 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -168,17 +168,17 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 168 | 168 | "syndication_tests.tests.SyndicationFeedTest.test_rss091_feed", | |
| 169 | 169 | "syndication_tests.tests.SyndicationFeedTest.test_template_feed", | |
| 170 | 170 | # datetimes retrieved from the database with the wrong hour when | |
| 171 | - # USE_TZ = True: https://github.com/orijtech/spanner-orm/issues/193 | ||
| 171 | + # USE_TZ = True: https://github.com/googleapis/python-spanner-django/issues/193 | ||
| 172 | 172 | "datetimes.tests.DateTimesTests.test_21432", | |
| 173 | 173 | "db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_func_with_timezone", | |
| 174 | 174 | "db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_trunc_timezone_applied_before_truncation", # noqa | |
| 175 | 175 | # extract() with timezone not working as expected: | |
| 176 | - # https://github.com/orijtech/spanner-orm/issues/191 | ||
| 176 | + # https://github.com/googleapis/python-spanner-django/issues/191 | ||
| 177 | 177 | "timezones.tests.NewDatabaseTests.test_query_datetimes", | |
| 178 | - # using NULL with + crashes: https://github.com/orijtech/spanner-orm/issues/201 | ||
| 178 | + # using NULL with + crashes: https://github.com/googleapis/python-spanner-django/issues/201 | ||
| 179 | 179 | "annotations.tests.NonAggregateAnnotationTestCase.test_combined_annotation_commutative", | |
| 180 | 180 | # Spanner loses DecimalField precision due to conversion to float: | |
| 181 | - # https://github.com/orijtech/spanner-orm/pull/133#pullrequestreview-328482925 | ||
| 181 | + # https://github.com/googleapis/python-spanner-django/pull/133#pullrequestreview-328482925 | ||
| 182 | 182 | "aggregation.tests.AggregateTestCase.test_decimal_max_digits_has_no_effect", | |
| 183 | 183 | "aggregation.tests.AggregateTestCase.test_related_aggregate", | |
| 184 | 184 | "db_functions.comparison.test_cast.CastTests.test_cast_to_decimal_field", | |
@@ -191,16 +191,16 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 191 | 191 | "aggregation.test_filter_argument.FilteredAggregateTests.test_filtered_numerical_aggregates", | |
| 192 | 192 | "aggregation_regress.tests.AggregationTests.test_stddev", | |
| 193 | 193 | # SELECT list expression references <column> which is neither grouped | |
| 194 | - # nor aggregated: https://github.com/orijtech/spanner-orm/issues/245 | ||
| 194 | + # nor aggregated: https://github.com/googleapis/python-spanner-django/issues/245 | ||
| 195 | 195 | "aggregation_regress.tests.AggregationTests.test_annotated_conditional_aggregate", | |
| 196 | 196 | "aggregation_regress.tests.AggregationTests.test_annotation_with_value", | |
| 197 | 197 | "expressions.tests.BasicExpressionsTests.test_filtering_on_annotate_that_uses_q", | |
| 198 | 198 | # "No matching signature for operator" crash when comparing TIMESTAMP | |
| 199 | - # and DATE: https://github.com/orijtech/django-spanner/issues/255 | ||
| 199 | + # and DATE: https://github.com/googleapis/python-spanner-django/issues/255 | ||
| 200 | 200 | "expressions.tests.BasicExpressionsTests.test_outerref_mixed_case_table_name", | |
| 201 | 201 | "expressions.tests.FTimeDeltaTests.test_mixed_comparisons1", | |
| 202 | 202 | # duration arithmetic fails with dates: No matching signature for | |
| 203 | - # function TIMESTAMP_ADD: https://github.com/orijtech/django-spanner/issues/253 | ||
| 203 | + # function TIMESTAMP_ADD: https://github.com/googleapis/python-spanner-django/issues/253 | ||
| 204 | 204 | "expressions.tests.FTimeDeltaTests.test_date_comparison", | |
| 205 | 205 | "expressions.tests.FTimeDeltaTests.test_date_minus_duration", | |
| 206 | 206 | "expressions.tests.FTimeDeltaTests.test_delta_add", | |
@@ -212,12 +212,12 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 212 | 212 | "select_for_update.tests.SelectForUpdateTests.test_unsupported_select_for_update_with_limit", | |
| 213 | 213 | # integer division produces a float result, which can't be assigned to | |
| 214 | 214 | # an integer column: | |
| 215 | - # https://github.com/orijtech/django-spanner/issues/331 | ||
| 215 | + # https://github.com/googleapis/python-spanner-django/issues/331 | ||
| 216 | 216 | "expressions.tests.ExpressionOperatorTests.test_lefthand_division", | |
| 217 | 217 | "expressions.tests.ExpressionOperatorTests.test_right_hand_division", | |
| 218 | 218 | # power operator produces a float result, which can't be assigned to | |
| 219 | 219 | # an integer column: | |
| 220 | - # https://github.com/orijtech/django-spanner/issues/331 | ||
| 220 | + # https://github.com/googleapis/python-spanner-django/issues/331 | ||
| 221 | 221 | "expressions.tests.ExpressionOperatorTests.test_lefthand_power", | |
| 222 | 222 | "expressions.tests.ExpressionOperatorTests.test_righthand_power", | |
| 223 | 223 | # Cloud Spanner's docs: "The rows that are returned by LIMIT and OFFSET | |
@@ -238,18 +238,18 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 238 | 238 | "db_functions.math.test_mod.ModTests.test_decimal", | |
| 239 | 239 | "db_functions.math.test_mod.ModTests.test_float", | |
| 240 | 240 | # casting DateField to DateTimeField adds an unexpected hour: | |
| 241 | - # https://github.com/orijtech/spanner-orm/issues/260 | ||
| 241 | + # https://github.com/googleapis/python-spanner-django/issues/260 | ||
| 242 | 242 | "db_functions.comparison.test_cast.CastTests.test_cast_from_db_date_to_datetime", | |
| 243 | 243 | # Tests that fail during tear down on databases that don't support | |
| 244 | - # transactions: https://github.com/orijtech/spanner-orm/issues/271 | ||
| 244 | + # transactions: https://github.com/googleapis/python-spanner-django/issues/271 | ||
| 245 | 245 | "admin_views.test_multidb.MultiDatabaseTests.test_add_view", | |
| 246 | 246 | "admin_views.test_multidb.MultiDatabaseTests.test_change_view", | |
| 247 | 247 | "admin_views.test_multidb.MultiDatabaseTests.test_delete_view", | |
| 248 | 248 | "auth_tests.test_admin_multidb.MultiDatabaseTests.test_add_view", | |
| 249 | 249 | "auth_tests.test_remote_user_deprecation.RemoteUserCustomTest.test_configure_user_deprecation_warning", | |
| 250 | 250 | "contenttypes_tests.test_models.ContentTypesMultidbTests.test_multidb", | |
| 251 | 251 | # Tests that by-pass using django_spanner and generate | |
| 252 | - # invalid DDL: https://github.com/orijtech/django-spanner/issues/298 | ||
| 252 | + # invalid DDL: https://github.com/googleapis/python-spanner-django/issues/298 | ||
| 253 | 253 | "cache.tests.CreateCacheTableForDBCacheTests", | |
| 254 | 254 | "cache.tests.DBCacheTests", | |
| 255 | 255 | "cache.tests.DBCacheWithTimeZoneTests", | |
@@ -280,15 +280,15 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 280 | 280 | # backend needs it (which it currently doesn't). | |
| 281 | 281 | "introspection.tests.IntrospectionTests.test_get_key_columns", | |
| 282 | 282 | # DatabaseIntrospection.get_relations() isn't implemented: | |
| 283 | - # https://github.com/orijtech/django-spanner/issues/311 | ||
| 283 | + # https://github.com/googleapis/python-spanner-django/issues/311 | ||
| 284 | 284 | "introspection.tests.IntrospectionTests.test_get_relations", | |
| 285 | 285 | # pyformat parameters not supported on INSERT: | |
| 286 | - # https://github.com/orijtech/django-spanner/issues/343 | ||
| 286 | + # https://github.com/googleapis/python-spanner-django/issues/343 | ||
| 287 | 287 | "backends.tests.BackendTestCase.test_cursor_execute_with_pyformat", | |
| 288 | 288 | "backends.tests.BackendTestCase.test_cursor_executemany_with_pyformat", | |
| 289 | 289 | "backends.tests.BackendTestCase.test_cursor_executemany_with_pyformat_iterator", | |
| 290 | 290 | # duplicate table raises GoogleAPICallError rather than DatabaseError: | |
| 291 | - # https://github.com/orijtech/django-spanner/issues/344 | ||
| 291 | + # https://github.com/googleapis/python-spanner-django/issues/344 | ||
| 292 | 292 | "backends.tests.BackendTestCase.test_duplicate_table_error", | |
| 293 | 293 | "migrations.test_commands.MigrateTests.test_migrate_fake_initial", | |
| 294 | 294 | "migrations.test_commands.MigrateTests.test_migrate_initial_false", | |
@@ -340,10 +340,10 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||
| 340 | 340 | # support transactions. | |
| 341 | 341 | "migrations.test_executor.ExecutorTests.test_atomic_operation_in_non_atomic_migration", | |
| 342 | 342 | # changing a not null constraint isn't allowed if it affects an index: | |
| 343 | - # https://github.com/orijtech/django-spanner/issues/378 | ||
| 343 | + # https://github.com/googleapis/python-spanner-django/issues/378 | ||
| 344 | 344 | "migrations.test_operations.OperationTests.test_alter_field_with_index", | |
| 345 | 345 | # parsing INSERT with one inlined value and one placeholder fails: | |
| 346 | - # https://github.com/orijtech/django-spanner/issues/393 | ||
| 346 | + # https://github.com/googleapis/python-spanner-django/issues/393 | ||
| 347 | 347 | "migrations.test_operations.OperationTests.test_run_sql_params", | |
| 348 | 348 | # This test doesn't flush the database properly: | |
| 349 | 349 | # https://code.djangoproject.com/ticket/31398 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -105,9 +105,9 @@ def get_relations(self, cursor, table_name): | |||
| 105 | 105 | representing all the relationships in the table. | |
| 106 | 106 | ||
| 107 | 107 | TODO: DO NOT USE THIS METHOD UNTIL | |
| 108 | - https://github.com/orijtech/django-spanner/issues/313 | ||
| 108 | + https://github.com/googleapis/python-spanner-django/issues/313 | ||
| 109 | 109 | is resolved so that foreign keys can be supported, as documented in: | |
| 110 | - https://github.com/orijtech/django-spanner/issues/311 | ||
| 110 | + https://github.com/googleapis/python-spanner-django/issues/311 | ||
| 111 | 111 | ||
| 112 | 112 | :type cursor: :class:`~google.cloud.spanner_dbapi.cursor.Cursor` | |
| 113 | 113 | :param cursor: A reference to a Spanner Database cursor. | |
@@ -227,7 +227,7 @@ def get_constraints(self, cursor, table_name): | |||
| 227 | 227 | already_added = constraint in constraints | |
| 228 | 228 | if constraint_type == "FOREIGN KEY": | |
| 229 | 229 | # We don't yet support anything related to FOREIGN KEY. | |
| 230 | - # See https://github.com/orijtech/django-spanner/issues/313. | ||
| 230 | + # See https://github.com/googleapis/python-spanner-django/issues/313. | ||
| 231 | 231 | if already_added: | |
| 232 | 232 | del constraints[constraint] | |
| 233 | 233 | continue | |
| Back | FazBrowse Home | New Git URL |
0 commit comments