django tag

257 questions


1 answers
102 views
0
Enter admin as a Facebook user in Django's social_auth

I use the django-social-auth plug-in in Django.I would like to join Django's admin as a user generated after I authenticate with Facebook.First, create this user on models.py and To force is_staff to ...


1 answers
68 views
0
I want to git management of django project

I would like to manage the django project with git. Is the following location okay?mysite/ .git manage.py mysite/ __init__.py settings.py urls.py wsgi.pyAlso, in django, what should I register wit...

2 years ago

1 answers
50 views
0
HTML Button Error

I am trying to create a blog using Python's Django according to the tutorial DjangoGirls.So I created a blog post page and was able to save the data to the database, but I couldn't move to the next sc...

2 years ago

1 answers
57 views
0
I can't post images well in django 2.1.1.

I'm studying django.Now, I'm trying to add a function for posting images, and now I can register from the admin page, but when I try to post from a normal form, I can't.Specifically, you can select an...

2 years ago

4 answers
62 views
0
What package management tools should I use for python?

ruby allows you to manage the packages you need for each project with gemfile, but What should I do with python?By the way, we are planning to develop using django.

2 years ago

1 answers
120 views
0
Django is unable to issue a certificate for Let's Encrypt><.

I'm sorry to bother you at such a busy time, but I was thinking about SSL in Django, but I can't issue a Let's Encrypt certificate.Conoha VPS 1GOS CentOS 7.5Apache 2.4.6python 3.6.5Django 2.0.7 https:...

2 years ago

1 answers
66 views
0
I want Django's administration site (admin) to display foreign keys filtered by the user.

I use admin function in Django 1.6.I would like to see the foreign key of the model filtered.Model is class Hoge (models.Model): user=models.ForeignKey(User, unique=False, verbose_name=u'user')and cla...

2 years ago

1 answers
61 views
0
Unintended GET Request Occurs After Page Display

Hi, everyone.I recently started studying Python and Django.I would like to ask you about the cause of the unintended GET request after the page is displayed.EventWhen viewing the top page of the web a...

2 years ago

1 answers
75 views
0
Why do I need Apache or nginx under Django?

When doing web development in Django, most of the information is configured to run Django on the so-called Apache or nginx web server.However, Django is a web server in itself, and I don't understand ...

2 years ago

1 answers
73 views
0
I want to set the maximum number of characters per line in Django's TextField.

Thank you for your help Django, Python noviceTextField is defined in the model to store the data in the text.In order to save data to the server for HTML-side text display, Up to 20 characters per lin...

2 years ago
« - 8 - »

© 2024 OneMinuteCode. All rights reserved.