自定义表单未正确显示。
输出在链接中。
https://screenshots.firefox.com/Esrmcoq8LUIzgVWB/127.0.0.1
请帮帮我。
我简单地复制并粘贴了 Stripe 在其元素页面中提供的 3 个代码。
html文件中的html,css文件中的CSS,连接到html,js文件中的js,连接到html
结果令人失望,根本没有显示“结果”部分中的内容。
我只能看到文字:信用卡或借记卡和按钮提交付款,根本没有样式,
我错过了什么吗?显然是的:p
基本文件
{% load staticfiles %}
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{% static 'css/starter-template.css' %}" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
</head>
<body>
{% block content %}
{% endblock%}
{% …Run Code Online (Sandbox Code Playgroud) 我尝试迁移文件后出现此错误
PS C:\ djangoproject\src> python manage.py makemigrations Traceback(最近一次调用最后一次):文件"manage.py",第15行,在execute_from_command_line(sys.argv)文件"C:\ Program Files\Python36\lib\site-packages\django\core\management__init __.py",第371行,在execute_from_command_line utility.execute()文件"C:\ Program Files\Python36\lib\site-packages\django\core\management__init __.py",第347行,执行django.setup()文件"C:\ Program Files\Python36\lib\site-packages\django__init __.py",第24行,在安装程序apps.populate(settings.INSTALLED_APPS)文件"C:\ Program Files\Python36\lib\site-packages\django\apps\registry.py",第93行,填充"duplicates:%s"%app_config.label) django.core.exceptions.ImproperlyConfigured:应用程序标签不是唯一的,重复: AUTH
请帮忙.
python django django-admin django-authentication django-allauth