shunfusheng / flea-market Goto Github PK
View Code? Open in Web Editor NEW一个基于python的web框架之一django开发的二手商品交易网站
一个基于python的web框架之一django开发的二手商品交易网站
Traceback (most recent call last):
File "C:\Users\40690\PycharmProjects\flea-market-master\manage.py", line 10, in
execute_from_command_line(sys.argv)
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management_init_.py", line 442, in execute_from_command_line
utility.execute()
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\site-packages\django\core\management_init_.py", line 416, in execute
django.setup()
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\site-packages\django\apps\registry.py", line 116, in populate
app_config.import_models()
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\site-packages\django\apps\config.py", line 269, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\40690\AppData\Local\Programs\Python\Python39\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Users\40690\PycharmProjects\flea-market-master\login\models.py", line 24, in
class AuthGroupPermissions(models.Model):
File "C:\Users\40690\PycharmProjects\flea-market-master\login\models.py", line 26, in AuthGroupPermissions
group = models.ForeignKey(AuthGroup)
TypeError: init() missing 1 required positional argument: 'on_delete'
这个是什么问题,怎么解决?
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\Users\16475\Desktop\test (2)\flea-market\login\urls.py", line 2, in
from .views import login,logout,register
File "C:\Users\16475\Desktop\test (2)\flea-market\login\views.py", line 4, in
import controller
ModuleNotFoundError: No module named 'controller'
from .views import login,logout,register
File "C:\Users\16475\Desktop\test (2)\flea-market\login\views.py", line 4, in
import controller
ModuleNotFoundError: No module named 'controller'
how to install controller?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.