Git Product home page Git Product logo

flea-market's People

Contributors

shunfusheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flea-market's Issues

TypeError: __init__() missing 1 required positional argument: 'on_delete'

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'

这个是什么问题,怎么解决?

import error

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.