Django SEO

2020-06-21 Thread Aayush Bhattarai
Is there any updated packages for doing SEO stuff like adding *meta title, meta description*,... Also, Recommend any best practice or Any Code reference for it without a package. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Django post request faild on user_id

2019-07-09 Thread Aayush Bhattarai
Hello, My Question is here. It will be better if you give me a full answer. https://stackoverflow.com/questions/56919062/insert-or-update-on-table-app-job-violates-foreign-key-constraint-app-job-use Thanks for your help. -- You received this message because you are subscribed to the Google

insert or update on table "app_job" violates foreign key constraint "app_job_user_id_f90a6dd9_fk_accounts_user_id" DETAIL: Key (user_id)=(3) is not present in table "accounts_user".

2019-07-07 Thread Aayush Bhattarai
[image: Capture.PNG] *I have used a function-based View to get data from post Request. I need to get many data that also include a primary key field too. I need to push data into two models. While doing so, I encountered an error.* #accounts models.py from django.db import models class

Get Value of Drop Down

2019-06-26 Thread Aayush Bhattarai
Hi, I have encountered a problem. How can I get the value of dropdown, Boolean Field and send it to the database. Note: I am not using forms.py files and using a function-based view. I have created own form in HTML. I am not able to match the value of database and value in html dropdown. --

Re: Adding Category

2019-06-03 Thread Aayush Bhattarai
Hey, dude didn't get what you are saying. Can you show me via example? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Adding Category

2019-06-03 Thread Aayush Bhattarai
Hi, I am using Django==2.2.1 *as Class-Based View. I wanted to add a category in a drop down and when anyone clicks it should be gone to category.* *What will be the best method for doing this? Follow the step of DRY. Thanks for your Time.* [image: Capture.PNG] -- You received this message

Django URLs

2019-04-28 Thread Aayush Bhattarai
Hello Everyone, I want to pass two url in url of template. I have added in urls.py also. code:- Index.html ** *In Up I want to pass slug. What Should I do.* *urls.py:* *path("detail//"),* *Thanks For Help* -- You received this message because you are subscribed to the Google Groups "Django

How to Update Database

2019-04-26 Thread Aayush Bhattarai
How can I update database. I am not using forms.py and I am using function based view. Can you how example and link for docs. Thanks for help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
Yes I want to change everything. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
Yes I read but not related to my questions. On Thursday, 11 April 2019 09:58:30 UTC-7, Aayush Bhattarai wrote: > > *Hey Buddy, Can I change my Django Interface. I don't like such interface > and I want to change it. * > > [image: Capture.PNG] > *I want to change like this.*

Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
*Hey Buddy, Can I change my Django Interface. I don't like such interface and I want to change it. * [image: Capture.PNG] *I want to change like this.* *Thanks For Your Support* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Need some sample project coding in Django t

2019-03-29 Thread Aayush Bhattarai
Hey you can see my Django blog on GitHub. https://github.com/coder-Aayush/django_blog -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: 1054, "Unknown column 'userprofile_user.phone' in 'field list'"

2019-03-27 Thread Aayush Bhattarai
*First make migrations* *python manage.py makemigrations YourAppName* *and then migrate * *python manage.py migrate* *and create superuser* *Maybe your error may be fixed.* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

django send_mail

2019-03-27 Thread Aayush Bhattarai
[image: isjs.PNG] How to send this form in django send_mail. Thanks For Your Help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Web Push Notification in Django

2019-03-25 Thread Aayush Bhattarai
Thanks dude. That's was very helpful. On Monday, 25 March 2019 22:13:43 UTC+5:45, Aayush Bhattarai wrote: > > *I am working on blog project and I wanted to add Web Push Notification in > Django. I have researched a lot. I have not found proper answer on it.* > *Looking for good answe

Re: add Image Field in model

2019-03-25 Thread Aayush Bhattarai
> > *Dude Use this code* > *image = models.ImageField(upload_to='media/') * *and also make sure to install pillow* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: how to deploy django on cpanel or server

2019-03-25 Thread Aayush Bhattarai
You can use Free Hosting Provider like Heroku and Python anywhere for > hosting your site. > > Paid one include digital ocean and many more. > Just Google it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Web Push Notification in Django

2019-03-25 Thread Aayush Bhattarai
*I am working on blog project and I wanted to add Web Push Notification in Django. I have researched a lot. I have not found proper answer on it.* *Looking for good answer. Thank You.* -- You received this message because you are subscribed to the Google Groups "Django users" group. To