parent
							
								
									660cdb0720
								
							
						
					
					
						commit
						b09c5c4ad2
					
				@ -1,4 +1,7 @@
 | 
				
			||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||
<project version="4">
 | 
				
			||||
  <component name="Black">
 | 
				
			||||
    <option name="sdkName" value="Python 3.8 (server)" />
 | 
				
			||||
  </component>
 | 
				
			||||
  <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (server)" project-jdk-type="Python SDK" />
 | 
				
			||||
</project>
 | 
				
			||||
@ -0,0 +1,6 @@
 | 
				
			||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||
<project version="4">
 | 
				
			||||
  <component name="SqlDialectMappings">
 | 
				
			||||
    <file url="file://$PROJECT_DIR$/video.sql" dialect="MySQL" />
 | 
				
			||||
  </component>
 | 
				
			||||
</project>
 | 
				
			||||
@ -0,0 +1,6 @@
 | 
				
			||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||
<project version="4">
 | 
				
			||||
  <component name="VcsDirectoryMappings">
 | 
				
			||||
    <mapping directory="" vcs="Git" />
 | 
				
			||||
  </component>
 | 
				
			||||
</project>
 | 
				
			||||
@ -0,0 +1,34 @@
 | 
				
			||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||
<module type="PYTHON_MODULE" version="4">
 | 
				
			||||
  <component name="FacetManager">
 | 
				
			||||
    <facet type="django" name="Django">
 | 
				
			||||
      <configuration>
 | 
				
			||||
        <option name="rootFolder" value="$MODULE_DIR$" />
 | 
				
			||||
        <option name="settingsModule" value="videoproject/settings.py" />
 | 
				
			||||
        <option name="manageScript" value="$MODULE_DIR$/manage.py" />
 | 
				
			||||
        <option name="environment" value="<map/>" />
 | 
				
			||||
        <option name="doNotUseTestRunner" value="false" />
 | 
				
			||||
        <option name="trackFilePattern" value="migrations" />
 | 
				
			||||
      </configuration>
 | 
				
			||||
    </facet>
 | 
				
			||||
  </component>
 | 
				
			||||
  <component name="NewModuleRootManager">
 | 
				
			||||
    <content url="file://$MODULE_DIR$">
 | 
				
			||||
      <excludeFolder url="file://$MODULE_DIR$/.venv" />
 | 
				
			||||
    </content>
 | 
				
			||||
    <orderEntry type="jdk" jdkName="Python 3.8 (server)" jdkType="Python SDK" />
 | 
				
			||||
    <orderEntry type="sourceFolder" forTests="false" />
 | 
				
			||||
  </component>
 | 
				
			||||
  <component name="PyDocumentationSettings">
 | 
				
			||||
    <option name="format" value="PLAIN" />
 | 
				
			||||
    <option name="myDocStringFormat" value="Plain" />
 | 
				
			||||
  </component>
 | 
				
			||||
  <component name="TemplatesService">
 | 
				
			||||
    <option name="TEMPLATE_CONFIGURATION" value="Django" />
 | 
				
			||||
    <option name="TEMPLATE_FOLDERS">
 | 
				
			||||
      <list>
 | 
				
			||||
        <option value="$MODULE_DIR$/templates" />
 | 
				
			||||
      </list>
 | 
				
			||||
    </option>
 | 
				
			||||
  </component>
 | 
				
			||||
</module>
 | 
				
			||||
@ -1 +1 @@
 | 
				
			||||
# 初始化
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								@ -1,5 +1,6 @@
 | 
				
			||||
from django.contrib import admin
 | 
				
			||||
from .models import *
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
# Register your models here.
 | 
				
			||||
admin.site.register(Comment)
 | 
				
			||||
 | 
				
			||||
@ -1,5 +1,6 @@
 | 
				
			||||
from django.apps import AppConfig
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
class CommentConfig(AppConfig):
 | 
				
			||||
    name = 'comment'
 | 
				
			||||
 | 
				
			||||
@ -1,3 +1,4 @@
 | 
				
			||||
from django.test import TestCase
 | 
				
			||||
 | 
				
			||||
# Create your tests here.
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								@ -1,2 +1,3 @@
 | 
				
			||||
from django.contrib import admin
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
@ -1,6 +1,7 @@
 | 
				
			||||
from django.apps import AppConfig
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
class MyadminConfig(AppConfig):
 | 
				
			||||
    name = 'myadmin'
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
@ -1,3 +1,4 @@
 | 
				
			||||
from django.test import TestCase
 | 
				
			||||
 | 
				
			||||
# Create your tests here.
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
@ -0,0 +1 @@
 | 
				
			||||
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								@ -1,5 +1,6 @@
 | 
				
			||||
from django.contrib import admin
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
# Register your models here.
 | 
				
			||||
from .models import User
 | 
				
			||||
admin.site.register(User)
 | 
				
			||||
@ -1,3 +1,4 @@
 | 
				
			||||
from django.test import TestCase
 | 
				
			||||
 | 
				
			||||
# Create your tests here.
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
@ -0,0 +1 @@
 | 
				
			||||
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								@ -1,6 +1,7 @@
 | 
				
			||||
from django.contrib import admin
 | 
				
			||||
from .models import *
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
# Register your models here.)
 | 
				
			||||
admin.site.register(Classification)
 | 
				
			||||
admin.site.register(Video)
 | 
				
			||||
 | 
				
			||||
@ -1,5 +1,6 @@
 | 
				
			||||
from django.apps import AppConfig
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
class VideoConfig(AppConfig):
 | 
				
			||||
    name = 'video'
 | 
				
			||||
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								@ -1,3 +1,4 @@
 | 
				
			||||
from django.test import TestCase
 | 
				
			||||
 | 
				
			||||
# Create your tests here.
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
@ -1,4 +1,5 @@
 | 
				
			||||
import pymysql
 | 
				
			||||
pymysql.install_as_MySQLdb()
 | 
				
			||||
 | 
				
			||||
 | 
				
			||||
print("===============install pymysql==============")
 | 
				
			||||
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
											
												Binary file not shown.
											
										
									
								
					Loading…
					
					
				
		Reference in new issue