Anonymous
It nor refer to you my messages
Harsh
Can we use django in React-Native backend
khaled
Thanks about help and if i had problem can you give some help?
I wrote an article on how you can use it on linked in I will send it to you and then you can google how to do it 🔃 Cron Jobs in simple words: A cron job is a time-based job scheduler in Unix-like operating systems. It allows users to schedule commands or scripts to run automatically at a specified time and date. Scheduling tasks for the future is an essential tool for any software developer. 🤔 But can we achieve the same intended goal using Python and Django? Yes, by using a third party library called "apscheduler" which requires the developer to create a folder named "schedulers" and inside that folder you can add tasks.py file which contains all the tasks that you would like it to work in a specific time periodically and then create a separate file called updater.py which contains a start function which calls the task function with the specific time for daily work. 🔍 For me I used it before with haystack to rebuild the search index every night at 11:59 pm and many other functions that need constant checks. 👾 but never forget to register the start function in the apps.py file in the application
Harsh
You have any project?
Harsh
Any examples?
Harsh
Any github repo
Charly
Any examples?
Try to do a google search I bet youll get some. But the thing is, react native can use any backend. Just create a rest API.
Karunakar
Create APIs dude
Harsh
Okk thanks dude🤝
Dambek
Hi, i have a project, where i can search a recipes and i need make a filter, where i can choose, which proudcucts i use
Dambek
How i can make that?
S
Hi, I am trying to create a forum app. I am using Spirit (https://github.com/nitely/Spirit) and the following is the documentation https://spirit.readthedocs.io/en/latest/templates.html#extend-the-html-head-section Help get the logo on the header. I have tried collectstatic and that hasnt worked. my folder structure - https://goonlinetools.com/snapshot/code/#ms5daz99r79c4pv5b9qof dev_local.py - https://goonlinetools.com/snapshot/code/#pqc5rjb6gy3sfvakdibaw _header.html - https://goonlinetools.com/snapshot/code/#5yofsu6og64nrllii0qtfe
khaled
Hi, i have a project, where i can search a recipes and i need make a filter, where i can choose, which proudcucts i use
you can use the Django filter or you can use Haystack with Elasticsearch which is much faster than the Django filtering technique due to indexing done using the Haystack and Elasticsearch
Anonymous
Can we create a API with django
Can we create a API with django
Yes, you can create API with Django using Django Rest Framework
Dambek
you can use the Django filter or you can use Haystack with Elasticsearch which is much faster than the Django filtering technique due to indexing done using the Haystack and Elasticsearch
Yeah, but i need get products from model and put it in html, but 1 problem: idk how many products i have and 2 i must get person choose True or False with this product
Suhaib
Hello everyone
Suhaib
I am using react with django
Suhaib
Can anybody tell me how i can display images Using sqllite
Cabrel Tchomte
Is it possible to learn Django using his documentation only?
Ahmad
Is it possible to learn Django using his documentation only?
It would be harder yaar. You better use documentation for reference and advanced topics.
Yasin
Hello everyone, when I want to run the lighthouse in chrome for pagespeed and other analysis, accessibility, best practices and SEO is calculated but Performance started to give an error such as: "Chrome didn't collect any screenshots during the page load. Please make sure there is content visible on the page, and then try re-running Lighthouse. (NO_SCREENSHOTS)" anyone knows why this happen? Is it same for your django sites also? Thanks
khaled
What do you recommend to me please ?
https://youtube.com/playlist?list=PLCC34OHNcOtr025c1kHSPrnP18YPB-NFi&si=_oHBijHZ1NrEr2Tp Thia is how i learnt fast Then learnt about drf
Bobby
I want to create an application for my project. I am looking for assistance from anyone to start my project I learned HTML, CSS, Python and SQL
$🇳🇬
I want to create an application for my project. I am looking for assistance from anyone to start my project I learned HTML, CSS, Python and SQL
Here's a good place to start, cover at least parts 1 to part 3 of the tutorial: https://docs.djangoproject.com/en/4.2/intro/tutorial01/
Anonymous
What do you recommend to me please ?
Start by learning django-chutad Django-rest-framework will seem easy after thT
Cabrel Tchomte
Is there much jobs opportunity in Django ?
Cabrel Tchomte
Super
Cabrel Tchomte
because I'm hesitating a little between node.js and django
Alex
because I'm hesitating a little between node.js and django
If you are in hurry go with Javascript(MERN) stack.
Karunakar
True Indeed✨
Cabrel Tchomte
Ok but currently I have more experience in python than js
Peaceful
I dont understand how to install django in cmd
Muflone
pip will do the job, as any other package
Alex
I dont understand how to install django in cmd
using pip, you might need to set pip in environment variable.
AZAMAT 々
I dont understand how to install django in cmd
just write this: pip install django
Peaceful
I have path problem, When i type python, showing me latest update.. Pip. --verison Show latest update
Jhoan
I dont understand how to install django in cmd
Create virtual env in cmd like this: python -m venv any_name Actívate virtual env any_name\Scripts\activate.bat Install django in cmd (any_name) > pip install django
Nazda
How to import my table post
AR4IBALD✞
Guys how to use postgresql In which Django's file I should make SQL queries
Charly
Guys how to use postgresql In which Django's file I should make SQL queries
Dude you need to at least take the Django official tutorial. You can't expect to build something without reading a single bit of the documentation.
Monzer
Hello guys i need a help
Monzer
I have a django project i normalize models in : User: Name , email, password Country : Name Admin: User Country And i use django rest framework , how i can create an admin ? The request must be : Name,email,password , country_id Please help me ....
Monzer
I want using serializers
khaled
no need to have an admin model you just need to have user model and just type this command to create a superuser python manage.py createsuperuser
Monzer
My project is invoices system has a admin user and salesperson user , and i have in user model user_type also
Monzer
This cause i use normalization .
Q
Hi, I'm trying to run the module separately from the django project, it should transmit data to celery, they give this error, how to solve it? (django.core.exceptions.appregistrynotready: apps aren't loaded yet)
prabhat
I am getting the error of pickle and data input doens't match
Doragonsureiyā
Jarvis
Source to learn django
Doragonsureiyā
Source to learn django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
MHJ
hi guys Anyone know which video or course is good for learning fetch product to categories
nyctophile
Hi guys What can I use instead of icontains in this code: rooms=Room.objects.filter( Q(topic__topic__icontains=q) | Q(name__icontains=q)| Q(description__icontains=q) )
Doragonsureiyā
No one can help you until you explain your difficulties.
Doragonsureiyā
Impossible to help without details.
Charly
Yes
Charly
Have you ever used Django before? At least the official tutorial?
Obdif
Give more details about your card
Anonymous
Bro, I think you can use html/css layouts. Learn html, and you will make good poker I think
Anonymous
Because dinamic html pages are the most important part in making web-games
Anonymous
Also you have to include pay systems like PayPal
Rishabh
Rishabh: can we have two system like node.js ( here we need to manage  some concurrent realtime time and django ( user and other activities) how to manage two backend integration well any video on it or resources
Doragonsureiyā
Rishabh: can we have two system like node.js ( here we need to manage  some concurrent realtime time and django ( user and other activities) how to manage two backend integration well any video on it or resources
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
nyctophile
What do you want to do? What is your purpose?
I need to filter it according to keyword
Charly
it is related with Django, Read it again
No it's not you are asking how to integrate two systems not something related specific to django.
Gahimbare
Hello everyone, i am new in developing, i want to ask you if you can give me advice how i can study django
Doragonsureiyā
Hello everyone, i am new in developing, i want to ask you if you can give me advice how i can study django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls