Frank Florentino 🇵🇪
Frank Florentino 🇵🇪
Dont*
Frank Florentino 🇵🇪
Cron
Frank Florentino 🇵🇪
If have a django app running
Anonymous
If have a django app running
Then run it on a Linux host and edit its crontab. Here's a doc reference: https://www.mankier.com/1p/crontab
Anonymous
Although, would be best to use Celery task instead if its something that requires fiddling with the app scheduler more than the system resource.
mojo
Can we get an instance of email what we have sent
I have doubt in get connection method in email sending
mojo
Keshav
I am building a blog app. Suppose I have logged in as user X and I want to access user Y's profile by clicking on his username. How can I achieve this in Django?
Bunty chhatri wala..
ZK
can anyone help me in solving the ckeditor and mdeditor files not found in production
ZK
Plz help
Jay
Jwt in login nd signup?
How?
Follow this tutorial https://simpleisbetterthancomplex.com/tutorial/2018/12/19/how-to-use-jwt-authentication-with-django-rest-framework.html
Sahu
Plz anyone help ,I'm beginner vin Django ....now I choked
Sahu
It's showing your not connected
Sahu
What to do
Mirco
Anonymous
hello, anyone familiar with docker here?
Rohan
Doragonsureiyā
hello, anyone familiar with docker here?
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! With a very high amount of people here the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
I am doing a course on the rest framework, and also learning docker within it
my instructor said:
No, services are not within docker images, but rather they are running an instance of a docker image.
The term Docker image is a used to describe the output from building your Dockerfile.
A docker container is used to describe a running instance of your image.
In Docker Compose, we setup services to tell Docker Compose how to run our images to create containers.
Does this make sense?
Cheers,
Mark
__________________
Anonymous
but my question is, if i have database service and app service, are two containers built from the image, one for the app and one for database. I have been stuck on this idea of services for Days, would really appreciate if someone can get back
Mirco
Anonymous
So let me get this right. I have a dockerfile. I build the dockerfile to get an image. In docker-compose I put two services. Hence when i do docker-compose run, my two services run as two docker containers
Anonymous
is this a correct analogy/theory
Mirco
Mirco
sravan
How to run celery task with some delay
Baku
I have a answer field in my model, how i can get objects where the answer is not empty?
sravan
Anonymous
hello guys ı want to use templates forms and ı wanna saved can ı do this ?
Anonymous
ı dont want use django forms ı want use template form
~
Pankaj
Baku
Pankaj
Can u share ss
Baku
is not working
i solved this with
Model.objects.filter(answer__exact='')
Loki
Is there any wat to hide parameters in url?
Baku
tnx
Pankaj
Pankaj
Loki
How?
Pankaj
How?
It will be like
requests.post(url=your url,data=dictionary)
In the dictionary you cn put your desired key value pairs
Loki
Prakash
The problem happens if the class in the model defines a Meta class as well:
class Identity(models.Model):
display_name=models.CharField(db_column="DisplayName",max_length = 200)
class Meta:
app_label = "something"
Now, if I run the makemigrations command, I get a "no changes detected" message, and no migration file is generated:
> python manage.py makemigrations myApp No changes detected in app 'myApp'
Please note that this was just an example, and the problem happens also if I run the command for the first time on a class with a Meta class defined, or if I delete the previously generated migration files.
Pankaj
sravan
Prakash
Just try python manage.py makemigrations
Already tried it's migration file is created but it won't creating table in DB
Only when I define meta class
Otherwise it's work fine with makemigrations
Rohan
Hi, I am new to django.
Rohan
I have few doubts about django
Rohan
does django supports google authentication, push notification and chat box
Mihir
yes
Mihir
all auth package
Rohan
ok
Pankaj
Pankaj
Means are you using migrate cmd after makemigrations
Brandon
Shihasz
S Karim
get_context_data method is not calling in TemplateView
S Karim
I’m sending the POST request to this function and I have post method in it.
S Karim
Can anyone help me with this
iiiiiiπoW
Hi
I am trying to create a rasa nlu chat bot
My code is below.
But showing error
http://pastebin.com/V7CXK1KM
https://pastebin.com/WR3TZrCW
Deepak
hi i have some problem
Deepak
Password reset sent
We’ve emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly.
If you don’t receive an email, please make sure you’ve entered the address you registered with, and check your spam folder. I get this but no link is received on email
Deepak
i am performing password reset using django
Anonymous
Deepak
Yeah it is registered
Andrej
Anonymous
Serj
How to connect jinja2 to Django 3. Does it even work ?
I specified the templates in the file 'settings.py':
https://dpaste.org/b98p
mhamed
Hi i have a question