xadmin 安装之后 代码运行不了
然后是版本问题 我把django换成1.9的之后
就出现这个问题
System check identified no issues (0 silenced). Unhandled exception in thread started by <function wrapper at 0x10d2e37d0> Traceback (most recent call last): File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper fn(*args, **kwargs) File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run self.check_migrations() File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 163, in check_migrations executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS]) File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/db/migrations/executor.py", line 20, in __init__ self.loader = MigrationLoader(self.connection) File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/db/migrations/loader.py", line 49, in __init__ self.build_graph() File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/db/migrations/loader.py", line 170, in build_graph self.load_disk() File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/site-packages/django/db/migrations/loader.py", line 105, in load_disk migration_module = import_module("%s.%s" % (module_name, migration_name)) File "/Users/tianxiaoqiang/Applications/anaconda/envs/django/lib/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/Users/tianxiaoqiang/Life/GitHub/DjangoLMS/apps/users/migrations/0001_initial.py", line 6, in <module> import django.contrib.auth.validators ImportError: No module named validators