menu
Log In
Register
menu
Login
Register
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About us
Cookie Policy
Home
Tag
django
Recent questions tagged django
1
vote
2
answers
How to fix incorrect request.user output in django?
How to fix incorrect request.user output in django?
Good afternoon, when creating authorization I gave up on the LoginView bike, because redefining and remaking it for what I need will take much more time than if I write ...
django
by
Andrei1penguin1
asked
Sep 24, 2021
1
vote
1
answer
Why create add-ons in DJANGO?
Why create add-ons in DJANGO?
Why create additional applications in a jango when you can make do with one main application? ...
django
by
HermanZuiakov
asked
Sep 24, 2021
1
vote
2
answers
How do I store tracebacks in models?
How do I store tracebacks in models?
I make a control panel which shows web site statistics. I want to count how many 500 errors were on the site (I can easily do it myself) and save their tracebacks in th ...
django
by
Shporsoft
asked
Sep 24, 2021
1
vote
1
answer
How do I write the days counter in the jango model?
How do I write the days counter in the jango model?
Good afternoon! I'm trying to make a counter in the model. How else can I do it? It is necessary to add a number to the current day and get the final date of the end o ...
django
by
ooker
asked
Sep 24, 2021
1
vote
2
answers
How do I register?
How do I register?
There is a user model: class Client(AbstractBaseUser, PermissionsMixin): '''Кастомная модель пользователя''' email = models.EmailField('Почта', max_length = 60, u ...
django
by
reqww
asked
Sep 24, 2021
1
vote
1
answer
Ошибка: ...uses parameter name '...._id/' which isn't a valid Python identifier. Что делать?
Ошибка: ...uses parameter name '...._id/' which isn't a valid Python identifier. Что делать?
I have applications-posts. When a user clicks on a post, he must go to a page whose URL ends with the post number. In views.py I wrote: def specific_post(request, po ...
django
by
lazyvasya228
asked
Sep 24, 2021
1
vote
1
answer
How to process Django form data?
How to process Django form data?
I'm making my own project and studying Django at the same time. Project goal: Make a convenient mechanism for slicing IP-networks for the necessary masks. Keep a record ...
django
sqlite
by
0ldn0mad
asked
Sep 24, 2021
1
vote
1
answer
How do I access the last row in a sqlite table with django?
How do I access the last row in a sqlite table with django?
Good afternoon, I need to access the last item in the sqlite database through django by using User.objects.values()-1.get(id), but negative indexing is not supported i ...
django
sqlite
by
Andrei1penguin1
asked
Sep 24, 2021
1
vote
1
answer
How to properly output ForeingKey DJANGO?
How to properly output ForeingKey DJANGO?
Good afternoon! Question for the experts. There is a model model.py class User(models.Model): name = models.CharField(max_length=25) def __str__(self): re ...
django
by
ooker
asked
Sep 23, 2021
1
vote
1
answer
How do I fix the django file mapping?
How do I fix the django file mapping?
When I started writing the forms in create.html, the display of the page as an html document changed to displaying document code. please help views.py file from djang ...
django
html
by
ever4st
asked
Sep 23, 2021
1
vote
1
answer
How to pass self to filter for Django views?
How to pass self to filter for Django views?
models class Product(models.Model): article = models.CharField('Артикул', max_length=100) name = models.CharField('Наименование', max_length=100) poster = mode ...
django
by
Yzurgzd
asked
Sep 22, 2021
1
vote
1
answer
Why doesn't the command find the attribute?
Why doesn't the command find the attribute?
I'm trying to get additional fields. a = Article.objects.get(id = article_id) a.articleadd_set.all() But django says it didn't find the articleadd_set attribute. Artic ...
django
by
sortfact333
asked
Sep 21, 2021
1
vote
1
answer
How do I get rid of the shielding?
How do I get rid of the shielding?
Good afternoon, encountered a problem with screening(adds html tags, scripts when sending them from a form). Honestly googled, but mostly advise to add safe filter or {% ...
django
by
gromyko21
asked
Sep 21, 2021
1
vote
4
answers
Which is better the original or the translated django documentation?
Which is better the original or the translated django documentation?
Hi all, I want to read the django documentation, but I don't know English very well. Can you tell me which is better, to read the original but with google translator or ...
django
documentation
it-education
by
EgorMitich
asked
Sep 21, 2021
2
votes
1
answer
How do I add unlimited images in the admin panel?
How do I add unlimited images in the admin panel?
How do I add unlimited images in the admin panel? To add image after image by clicking the button. ...
django
by
Peterson_s
asked
Sep 21, 2021
1
vote
1
answer
How to output the sum of all fields in Django Admin?
How to output the sum of all fields in Django Admin?
Hi all)) in general, such a problem - there is a table with deposits from users (contains user ID and amount of deposit) and need somewhere here print the amount of al ...
django
by
Kate_7z
asked
Sep 21, 2021
2
votes
1
answer
How to avoid the 502 Bad Gateway error?
How to avoid the 502 Bad Gateway error?
Deployed server with NGINX -> uWSGI -> Django stack on Debian. When the number of requests increases to 150 requests per second, a 502 Bad Gateway error occurs. No ...
django
uwsgi
by
Gramor
asked
Sep 20, 2021
1
vote
1
answer
How do I bind in Django?
How do I bind in Django?
How do I bind social networks? Can I do it with Django? ...
django
by
Askhat00
asked
Sep 20, 2021
1
vote
1
answer
How to implement Filter in Django models.ForeignKey?
How to implement Filter in Django models.ForeignKey?
models class Product(models.Model): name = models.CharField('Наименование', max_length=100) poster = models.ImageField('Постер', upload_to='products/posters/') ...
django
by
Yzurgzd
asked
Sep 20, 2021
1
vote
1
answer
How do I define a relationship object for a model in django?
How do I define a relationship object for a model in django?
Two models are available: from django.db import modelsclass Category_item(models.Model): name_category = models.CharField('Название категории', max_length=100)class Ite ...
django
by
bituke
asked
Sep 20, 2021
Page:
1
2
3
4
...
216
next »