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
Charly
Harsh
You have any project?
Charly
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🤝
_//cleph💵🍕🇺🇸🔥
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
Anonymous
Can we create a API with django
Anonymous
Dambek
Anonymous
Dambek
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?
han
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
Cabrel Tchomte
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
$🇳🇬
Bobby
Cabrel Tchomte
Is there much jobs opportunity in Django ?
Mirco
Cabrel Tchomte
Super
Cabrel Tchomte
because I'm hesitating a little between node.js and django
Alex
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
AZAMAT 々
Peaceful
I have path problem,
When i type python, showing me latest update..
Pip. --verison
Show latest update
Nazda
How to import my table post
AR4IBALD✞
Guys how to use postgresql
In which Django's file I should make SQL queries
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
nyctophile
Gahimbare
Hello everyone, i am new in developing, i want to ask you if you can give me advice how i can study django