Farzad
Hi guys, I am working on a Django project, and Client want to create custom username and password. Now I want to give an option on admin panal to add username and password through excel file. Does anyone have idea?
i've done smth similar this way: - new form on that page - extract and clean the data from excel using javascript - validate and bulk add users in your view
Adithya
Hi guys, can you mention any free resources for learning django channels?
Mirco
Hi guys, can you mention any free resources for learning django channels?
their docs for free otherwise there's a book Practical Django and Django Channels that is good and not so expensive
Maxim
digital ocean
are you sure you understood the question correctly?
Dev
are you sure you understood the question correctly?
Maybe he meant this. https://www.digitalocean.com/community/tutorial-series/django-development
Maxim
🤦‍♂️
Adithya
Oh ok thanks 👍
clouded
Oh, so many answers already. That's the price for leaving the thread.
...
I have developed django project using tailwind css for styling. But when I try to deploy on vercel the css effect is not shown. I have tried different option but not . Anyone got the same please.
Nazda
Excuse me ! I forget, I want to say that how to create a website ?
ishaan
I am unable to send the problem photo. Ok I am working on django admin's import export feature. I have implemented it for category, region models but in product model, I am getting validation error for date (datetimefield) I am trying since morning, but I don't know why it's not working. if anyone can help, I will be thankful to him. thanks
ishaan
Can someone please help instead of teaching me rules
Maxim
Can someone please help instead of teaching me rules
it's not about the rules read carefully
...
probably might have something to do with publishing static assets
On development static assets are configure d and worked correctly but when deployed it doesn't
cj
On development static assets are configure d and worked correctly but when deployed it doesn't
have you read on Django's documentation how to serve static files in production?
Software
Hello can someon sugest to me a video or a good documentation of how can i create authentication system in django with email verification
Бекназар
Hello everyone. Can anyone help with deploying the project to the server? There was an error: static files are not located, I'm just a newbie. if possible to make a call
Jagadis
How to connect django with MySQL? Please tell step by step. Currently I am using the default django database.
Jagadis
Please share .
Charly
Please share .
https://docs.djangoproject.com/en/5.0/
Jagadis
Thank you Sir
Abhi
How to connect django with MySQL? Please tell step by step. Currently I am using the default django database.
It's easy to go to settings and change the database settings with my SQL or use django documentation for implementation of my SQL databases
Abhi
Try to give the value null in models
Like this class MyModel(models.Model): my_field = models.CharField(max_length=100, null=True)
Maryam
i get this error SMTPAuthenticationError when i try to send email to the user after registering can someone help?
Maryam
We need the full error
SMTPAuthenticationError at /accounts/registerUser/ (535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8 https://support.google.com/mail/?p=BadCredentials 2adb3069b0e04-52ed24e1ed3sm1386595e87.55 - gsmtp')
Dnyaneshwar
Go to Google settings> Google Account settings> Security > Enable two factor authentication > search for app password in search bar and create app password, use it.
maneliiii
are you sure you understood the question correctly?
you can find a sample of django channels like a chatbot it's not like a course or something but it can be helpful
Doragonsureiyā
This is not a Django specific question, please delete your offtopic message. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Maxim
this one? https://pypi.org/project/kafka-logger/
Maxim
Python-specific, but not Django-specific read carefully
Kuth
Any one have more specific about build Oauth2 with Django (Authentication Server)
Maxim
should have included that in the issue statement from the beginning
Doragonsureiyā
Any one have more specific about build Oauth2 with Django (Authentication Server)
Please don't ask meta questions like: - Any user of $x here? - Anyone used technology $y? - Hello, I need help on $z! Just ask about your problem directly! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
Maxim
it's worth writing a separate post or editing an existing one so that all the information is in one post it is also worth adding other details, including possibly code snippets (don't forget to read rule #5) then delete the rest of the posts i'll take care of my own and Dorago's posts
Ale>
Hi all is it any way to debug logger, I am connecting to kafka via kafka_logger.handlers.KafkaLoggingHandler but it seems that some log messages are lost? I need to debug Django logging subsystem (it is using python logging handlers for log output) but how to debug logging handlers itself when they are using in jango apps? I am using https://pypi.org/project/kafka-logging-handler/ as python logger logger.yml is looking like version: 1 formatters: detail: class: privacyidea.lib.log.SecureFormatter format: "[%(asctime)s][%(process)d][%(thread)d][%(levelname)s][%(name)s:%(lineno)d] %(message)s" handlers: kafka: class: kafka_logger.handlers.KafkaLoggingHandler hosts_list: - "my.server1.local:8099" - "my.server2.local:8099" topic: log-topic security_protocol: "SSL" ssl_cafile: "/certs/kafka/ca.pem" kafka_producer_args: max_request_size: 10485760 compression_type: gzip acks: 1 ssl_certfile: "/certs/server.pem" ssl_keyfile: "/certs/server.key" ssl_password: super_secret_phrase formatter: detail level: INFO loggers: # The logger name is the qualname privacyidea.lib.auditmodules.loggeraudit: handlers: - kafka level: INFO privacyidea is an opensource Django-based application
Moonlight
hello everyone. Is it correct to say, what when i am making request to website with my phone by wifi connection , my wifi router gets information by IP, and then transfer information to my phone by MAC? Just it's very hard to me to understand interconnection between ip and mac when using TCP/IP
Simran
Hey guys if I want to deploy django and react project on AWS Can I create a free account and cancel it after deploying Will this affect my project?
Sky.
Hi guys Has anyone worked with Scrapy before ? I'm trying to create an API to run the Scrappy and then send the scrapped data to the client in json format But I can't send it it's null But when I print it on console it's Not I appreciate any help
Yathish
Hi im new to Django learning here i was thinking of making a career path as web developer is the django good for future ? what and all things i should know like must is any suggestions
Charly
What you need to know? To build apps with django
Yathish
now i only know views and templating and models ive gone through its confusing and what other things are there like
Sky.
if you didn' t get it, you need to share the code to get help
@api_view(['GET']) def course_spider(request): settings = get_project_settings() process = CrawlerProcess(settings) deferred = process.crawl(CourseSpider) deferred.addCallback(lambda _: reactor.stop()) reactor.run() scraped_data = CrawlerPipeline().process_item(item=None, spider=None) return Response(scraped_data)
Vanshika
Just wanted to ask is it fine if I use django + firebase for storage authentication and database? For portal like Learning management system?
Satya
from django.db import modelsfrom django.contrib.auth.models import User # Create your models here. class tasks(models.Model): user = models.ForeignKey(User,on_delete=models.CASCADE) task = models.CharField(max_length=90) status= models.BooleanField(default=False)
Satya
from rest_framework import serializers from django.contrib.auth.models import User class Taskserializer(serializers.Serializer): id = serializers.IntegerField(read_only=True) user = serializers.IntegerField(read_only=True) task = serializers.CharField(max_length=90) status = serializers.BooleanField(default=False)
Satya
from django.shortcuts import render from ToDoapp.models import tasks from .serializers import Taskserializer from django.http import HttpResponse from rest_framework.renderers import JSONRenderer def Taskapi(request,id=None): if request.method=='GET': if id is None: task = tasks.objects.all() serializer = Taskserializer(task,many=True) json_data = JSONRenderer().render(serializer.data) return HttpResponse(json_data,content_type='application/json') else: task = tasks.objects.get(pk=id) serializer = Taskserializer(task) json_data = JSONRenderer().render(serializer.data) return HttpResponse(json_data,content_type='application/json')
Satya
i am not getting the data when I am not sending the id can anyone help
Abhijit
Which YouTube channel is good for learning the Django framework??
King
On YouTube
Akintola
I have Django 5.0 by example book
Jahongir
Hello, what is the best field to use when calculating with money in Django (DecimalField, FloatField)
Dnyaneshwar
Which YouTube channel is good for learning the Django framework??
geeky shows is also a good option to learn in hindi
Jahongir