Clean up unused code and comments
This commit is contained in:
1 parent
f51daab1c2
commit
3b2b2f91c2
2 files changed
-12
No files matched your search
@@ -71,10 +71,6 @@ class Command(BaseCommand):
|
|||||||
help="ignore migrations that are in the specified django apps",
|
help="ignore migrations that are in the specified django apps",
|
||||||
)
|
)
|
||||||
|
|
||||||
# args = parser.parse_args()
|
|
||||||
|
|
||||||
# folder_name = args.django_folder[0]
|
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
settings_path = os.path.dirname(
|
settings_path = os.path.dirname(
|
||||||
import_module(os.getenv("DJANGO_SETTINGS_MODULE")).__file__
|
import_module(os.getenv("DJANGO_SETTINGS_MODULE")).__file__
|
||||||
|
|||||||
@@ -12,14 +12,6 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
_PROJ_TEST_DIR = os.path.join(
|
|
||||||
os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
|
|
||||||
"tests/",
|
|
||||||
"test_project",
|
|
||||||
)
|
|
||||||
|
|
||||||
CREATE_TABLE_WITH_NOT_NULL_COLUMN = "app_create_table_with_not_null_column"
|
CREATE_TABLE_WITH_NOT_NULL_COLUMN = "app_create_table_with_not_null_column"
|
||||||
ADD_NOT_NULL_COLUMN = "app_add_not_null_column"
|
ADD_NOT_NULL_COLUMN = "app_add_not_null_column"
|
||||||
DROP_COLUMN = "app_drop_column"
|
DROP_COLUMN = "app_drop_column"
|
||||||
|
|||||||
Reference in new issue
Block a user