Comments (3)
Your account has been disabled
登陆的时候提示这个
from onlinejudgedeploy.
数据库或者 django shell 改吧
from onlinejudgedeploy.
用
python3 manage.py createsuperuser
Django VERSION (2, 1, 7, 'final', 0)
Username: admin
Password:
Password (again):
命令的时候出现这个问题
Traceback (most recent call last):
File "manage.py", line 12, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 316, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 59, in execute
return super().execute(*args, **options)
File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 353, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.7/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 184, in handle
self.UserModel._default_manager.db_manager(database).create_superuser(**user_data)
AttributeError: 'UserManager' object has no attribute 'create_superuser'
Sentry is attempting to send 1 pending error messages
Waiting up to 10 seconds
Press Ctrl-C to quit
[2020-08-09 12:15:29] - [ERROR] - [sentry.errors:684] - Sentry responded with an API error: RateLimited(None)
b'Sentry responded with an API error: RateLimited(None)'
[2020-08-09 12:15:29] - [ERROR] - [sentry.errors.uncaught:712] - ["AttributeError: 'UserManager' object has no attribute 'create_superuser'", ' File "manage.py", line 12, in <module>', ' File "django/core/management/__init__.py", line 381, in execute_from_command_line', ' File "django/core/management/__init__.py", line 375, in execute', ' File "django/core/management/base.py", line 316, in run_from_argv', ' File "django/contrib/auth/management/commands/createsuperuser.py", line 59, in execute', ' File "django/core/management/base.py", line 353, in execute', ' File "django/contrib/auth/management/commands/createsuperuser.py", line 184, in handle']
b'["AttributeError: \'UserManager\' object has no attribute \'create_superuser\'", \' File "manage.py", line 12, in <module>\', \' File "django/core/management/__init__.py", line 381, in execute_from_command_line\', \' File "django/core/management/__init__.py", line 375, in execute\', \' File "django/core/management/base.py", line 316, in run_from_argv\', \' File "django/contrib/auth/management/commands/createsuperuser.py", line 59, in execute\', \' File "django/core/management/base.py", line 353, in execute\', \' File "django/contrib/auth/management/commands/createsuperuser.py", line 184, in handle\']'
小白一枚,求解
from onlinejudgedeploy.
Related Issues (20)
- oj-backend 和 judge-server 為 unhealthy
- Test case is not uploaded yet HOT 1
- System error is displayed after the code is submitted. HOT 4
- NO
- docker服务不可用
- STATIC_CDN_HOST processing results in OJ-backend unhealth
- judge server无法正常运行
- 启动服务問題[docker-compose up -d] HOT 1
- 服务不可用后未自动重启 HOT 1
- How to make the site online? HOT 1
- Build failed HOT 3
- image unavailable HOT 1
- 无法导入FPS格式题目 HOT 3
- TestCase文件的格式是什么样的 HOT 2
- 如何备份数据库
- 虚拟机开启防火墙后unhealthy的问题 HOT 1
- 代码格式是什么
- judge_server状态不定时变成unhealthy?
- pulling fs layer怎么办?
- Pulling judge-server ERROR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onlinejudgedeploy.