小编Kar*_*orn的帖子

Django 迁移文件夹在哪里?

我一定做错了什么。我到处都看到有人说“查看迁移文件夹”,但即使我可以看到迁移,也没有文件夹。

Karls-Mac-mini:django_test karl$ tree
??? django_test
?   ??? __init__.py
?   ??? __pycache__
?   ?   ??? __init__.cpython-35.pyc
?   ?   ??? settings.cpython-35.pyc
?   ?   ??? urls.cpython-35.pyc
?   ??? settings.py
?   ??? urls.py
?   ??? wsgi.py
??? manage.py

Karls-Mac-mini:django_test karl$ python manage.py showmigrations
admin
 [X] 0001_initial
 [X] 0002_logentry_remove_auto_add
 [X] 0003_logentry_add_action_flag_choices
auth
 [X] 0001_initial
 [X] 0002_alter_permission_name_max_length
 [X] 0003_alter_user_email_max_length
 [X] 0004_alter_user_username_opts
 [X] 0005_alter_user_last_login_null
 [X] 0006_require_contenttypes_0002
 [X] 0007_alter_validators_add_error_messages
 [X] 0008_alter_user_username_max_length
 [X] 0009_alter_user_last_name_max_length
contenttypes
 [X] 0001_initial
 [X] 0002_remove_content_type_name
sessions
 [X] 0001_initial
Run Code Online (Sandbox Code Playgroud)

migration django

6
推荐指数
1
解决办法
8526
查看次数

为什么 git merge 在源分支中创建提交

我正在尝试将补丁分支中的更改合并到主分支中。这是我在github上看到的消息:

kewp wants to merge 36 commits into patch/SEO_prices_pages from development
Run Code Online (Sandbox Code Playgroud)

当我单击解决冲突时,这是我看到的消息

Resolving conflicts between development and patch/SEO_prices_pages and committing changes development
Run Code Online (Sandbox Code Playgroud)

为什么要提交该提交development?我正在尝试使用开发更改来更新补丁分支......

git merge github

4
推荐指数
1
解决办法
2009
查看次数

标签 统计

django ×1

git ×1

github ×1

merge ×1

migration ×1