Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
16ms status=500 bytes=477 protocol=https* > > Thanks Ranga! > > On Sun, Aug 30, 2020 at 8:33 AM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> >>Copy and paste your log errors . I will check once >> >> On Sun, Aug 30, 2

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Copy and paste your log errors . I will check once On Sun, Aug 30, 2020 at 5:23 PM King Niko wrote: > Thanks for the suggestion Kasper. > Unfortunately I have not been able to resolve the above bugs utilizing the > recommended logging technique. The: > > > heroku logs —tail > > Works to

Re: ValueError... Cannot query "User": Must be "Model" instance.

2020-09-03 Thread RANGA BHARATH JINKA
Hi, Go through this. This will help you. The error is because of foreign key. https://stackoverflow.com/questions/37839867/django-error-cannot-assign-must-be-an-instance On Thu, Sep 3, 2020 at 8:46 PM Abdu-H wrote: > Hello, > > I am working on an app where car owner will list their car and

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread RANGA BHARATH JINKA
Hi, check in browser console for errors On Tue, Sep 1, 2020 at 2:27 AM Lightning Bit < thelegendofearthretu...@gmail.com> wrote: > I logged into the ADMIN PORTAL and saw that there was an image for each > item in the ADMIN PORTAL. > > Strangely, when returning to the website, I am unable to

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-08-31 Thread RANGA BHARATH JINKA
sing the Server Error (500)? > > On Tue, Sep 1, 2020 at 12:39 AM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> check in browser console for errors >> >> On Tue, Sep 1, 2020 at 2:27 AM Lightning Bit < >> thelegendofearthretu.

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-31 Thread RANGA BHARATH JINKA
No problem. All the best  On Mon, Aug 31, 2020 at 11:35 PM Patrick Carra wrote: > Thanks bharath for the info I'm going to dig more in to these. > > On Friday, August 28, 2020 at 9:05:04 PM UTC-5 bharath...@gmail.com wrote: > >> Hi, >> >> Please check this package. This may help you. All

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
ontext) > > > Thus I am confused as to how the Template could be non-existent if it does > in fact exist. Would you all happen to know of any solutions to this? > > > On Sun, Aug 30, 2020 at 9:17 AM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: >

Re: Need help in Linode server setup.

2020-08-31 Thread RANGA BHARATH JINKA
Hi, Please check this. https://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server On Mon, Aug 31, 2020 at 12:15 PM Vikas Sri wrote: > We have pushed the codes on a Linode server. But the project is not > getting Live. > Sharing

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Please check this. https://stackoverflow.com/questions/44160666/valueerror-missing-staticfiles-manifest-entry-for-favicon-ico On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit < thelegendofearthretu...@gmail.com> wrote: > Hello all, > > Does anyone know how to add a manifest entry for a

Re: Django Admin

2020-09-09 Thread RANGA BHARATH JINKA
Hi, Use this. https://pypi.org/project/django-jazzmin/ All the best On Wed, Sep 9, 2020 at 9:47 PM lada...@gmail.com wrote: > Hello friends, I am developing a system and i want to use bootstrap admin > dashboard but i dont want to loose the features of django admin please how > do

Re:

2020-09-08 Thread RANGA BHARATH JINKA
Hi, See this link. https://stackoverflow.com/questions/57000214/how-do-i-pip-install-twisted-without-getting-an-error All the best On Tue, Sep 8, 2020 at 4:14 PM hans alexander wrote: > I got errors when installing Django Channels. > I'm using Python 3.8.5, Django 3.1 > > Installing using

Re:

2020-09-08 Thread RANGA BHARATH JINKA
ready have my virtual env for my project. > > Please advise. Thanks > > On Tue, Sep 8, 2020 at 5:48 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >>See this link. >> >> https://stackoverflow.com/questions/57000214/ho

Re: Django Admin

2020-09-09 Thread RANGA BHARATH JINKA
es: > 1. How to remove the Jazzmin version from the footer > 2. I have a tabular inline which allows me to add more fields but it has > removed the add more button. > > > On 9 Sep 2020, at 4:24 PM, RANGA BHARATH JINKA > wrote: > >  > Hi, > > Use this. > h

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Hi, Store the images in a folder. Store the images folder path in the database. Don't store the images directly in db. It is not a good practice. Instead use aws for storing images. Follow this tutorial series. https://www.youtube.com/watch?v=inQyZ7zFMHM All the best On Wed, Sep 16, 2020 at

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Check django documentation to store images to the folder. Use upload_to in models.py You have to update your models. All the best On Wed, Sep 16, 2020 at 1:50 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Store the images in a folder. > Store the

Re: Help:What is the problem in this code?

2020-09-13 Thread RANGA BHARATH JINKA
Hi, Create a virtual environment and install django in a virtual environment. All the best On Sun, Sep 13, 2020 at 9:11 PM Hassan Shuvo wrote: > [image: manage.PNG][image: code.PNG] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group.

Re: How to get client or user side details

2020-09-02 Thread RANGA BHARATH JINKA
Hi, There is a javascript library called Detect.js Detect.js Github: https://github.com/darcyclarke/Detect.js Video Tutorial : https://youtu.be/QukFW1qymSA All the best On Thu, Sep 3, 2020 at 10:49 AM Salima Begum wrote: > Hi, > We are trying to extract new login attempts

Re: Rocket chat with python: imp

2020-09-08 Thread RANGA BHARATH JINKA
Hi, Try this. https://pypi.org/project/rocket-python/ All the best On Wed, Sep 9, 2020 at 11:00 AM Chander shekhar wrote: > Can anyone help me in integrating rocket chat with python any link > ,videos,or any personal suggestion. > I have to make a chat with it,really imp > > -- > You

Re: Ajax, jQuery and Django

2020-10-05 Thread RANGA BHARATH JINKA
Hi, Check this. This may be useful for you. All the best https://www.youtube.com/results?search_query=django+dependent+drop+down+list+from+database On Mon, Oct 5, 2020 at 1:56 PM Kunal Solanke wrote: > Rather than sending ajax every time handle it on frontend in javascript > > On Mon, Oct 5,

Re: E Commerce Website Assistance

2020-10-10 Thread RANGA BHARATH JINKA
Hi, Check this. https://www.youtube.com/playlist?list=PL-51WBLyFTg0omnamUjL1TCVov7yDTRng All the best On Sat, Oct 10, 2020 at 11:29 AM Farai M wrote: > Hello all > > I am doing an ecommerce app can any one who have done a commercial > project assist with maybe documentation and architecture

Re: django template forloop

2020-10-14 Thread RANGA BHARATH JINKA
Hi, You have to end for loop for second for loop On Wed, Oct 14, 2020 at 4:23 PM luca72.b...@gmail.com < luca72.bertolo...@gmail.com> wrote: > Hello > I have this: > {% for x in lista_form %} > {% if forloop.counter < 100 %} > {% for fieldi in formone %} >

Re: Python manage.py runserver error

2020-08-25 Thread RANGA BHARATH JINKA
Hi, Please create a virtual environment, activate it and install django and other packages inside that environment. All the best. On Wed, Aug 26, 2020 at 8:28 AM ROHINI PUNDE wrote: > Hi, > while running "python manage.py runserver" I got this type of error ,I am > not understand how

Re: load static in css file

2020-08-24 Thread RANGA BHARATH JINKA
Hi, Try this. style="background: url(../images/showcase.jpg) no-repeat top center !important;" Add these in your settings.py file. STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ]

Re: Real-time audio processing with django-based app?

2020-08-24 Thread RANGA BHARATH JINKA
Hi, Check this. It may be useful for you. https://stackoverflow.com/questions/46386011/real-time-audio-signal-processing-using-python All the best On Tue, Aug 25, 2020 at 4:13 AM Rowan V wrote: > Hi all, > > I’m interested in building out an app with the following functionality. I >

Re: Stream Webcam and with Button Capture Image

2020-08-24 Thread RANGA BHARATH JINKA
Hi, Try this. This may be useful for you. https://github.com/kevinam99/capturing-images-from-webcam-using-opencv-python All the best On Tue, Aug 25, 2020 at 2:03 AM Samara Muñoz wrote: > Hi Ketul, I was wondering if you have had any luck. I was seeing a video > and they use

Re: why style.css is not read by my codes. i am using VScode for Django

2020-08-24 Thread RANGA BHARATH JINKA
Hi, I think it is not able to find the file. Please check whether it is the correct location of the files. Add a static root in settings file like STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ]

Re: Exporting Filter data

2020-08-26 Thread RANGA BHARATH JINKA
Hi, https://django-import-export.readthedocs.io/en/latest/index.html Try this. This may be useful. All the best. On Wed, Aug 26, 2020 at 5:09 PM isaacn...@gmail.com wrote: > Hi, > > I want to filter and export the filtered data in excel or/and pdf. Please > help out. > > Thank. > > -- > You

Re: plz help i found this kinda problem when i run

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Create a templates folder in your base directory where manage.py exists. Change the templates folder path in settings.py as 'DIRS': [os.path.join(BASE_DIR,'templates')] All the best On Thu, Aug 27, 2020 at 10:04 PM Ogunsanya Opeyemi < ogunsanyaopeye...@gmail.com> wrote: > This means

Re: Python/Django, "The 'poster' attribute has no file associated with it"

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Add a default image in models. On Thu, Aug 27, 2020 at 8:34 PM Tony Hall wrote: > I'm relatively new to programming and I'm having some trouble with the > ImageField in my models.py. > > I keep getting the error in the attachment every time I load the > local:8000. > > My models.py is:

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Use jQuery datatable for this. It is easy to use and has inbuilt search and export to CSV, Excel options also. https://datatables.net/extensions/buttons/examples/initialisation/export.html On Sat, 29 Aug 2020, 7:54 am RANGA BHARATH JINKA, wrote: > Hi, > > Check this. >

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Please check this package. This may help you. All the best https://django-tables2.readthedocs.io/en/latest/pages/filtering.html On Sat, 29 Aug 2020, 4:36 am Patrick Carra, wrote: > Hello All! I need some help with a problem I have been struggling with. > One of you generous

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, Check this. https://pypi.org/project/django-queryset-csv/ On Sat, 29 Aug 2020, 7:33 am RANGA BHARATH JINKA, wrote: > Hi, > > Please check this package. This may help you. All the best > > https://django-tables2.readthedocs.io/en/latest/pages/filtering.ht

Re: Page 3

2020-08-28 Thread RANGA BHARATH JINKA
Hi, You are closing the para thesis before. path('/results/', views.results, name='results'), This is the correct syntax. All the best  On Sat, 29 Aug 2020, 3:03 am rbarh...@gmail.com, wrote: > The error message claims invalid syntax and point to the equal sign > between name and

Re: 500 Server Error | Impossible to Fix

2020-08-28 Thread RANGA BHARATH JINKA
Hi, In settings turn the debug to True. Then check the error in terminal. In heroku you have to check the logs in the terminal using heroku logs --tail All the best  On Sat, 29 Aug 2020, 4:35 am Lightning Bit, < thelegendofearthretu...@gmail.com> wrote: > Greetings all, > > I finally

Re: NoReverseMatch at /searchlit/customsearch and bigger problem of exporting a filtered queryset

2020-08-28 Thread RANGA BHARATH JINKA
Hi, There is a django module. https://pypi.org/project/django-datatables-view/ On Sat, 29 Aug 2020, 8:25 am RANGA BHARATH JINKA, wrote: > Hi, > > Use jQuery datatable for this. It is easy to use and has inbuilt > search and export to CSV, Excel options als

Re: URGENT ---- Third party API integration basics

2020-08-21 Thread RANGA BHARATH JINKA
Hi, create a variable like APIKEY = 'value' in settings.py. If you want to access that api key in views just use this import "from django.conf import settings" In views.py: api_key = settings.APIKEY All the best. On Fri, Aug 21, 2020 at 3:33 PM Ogunsanya Opeyemi <

Re: django - admin error

2020-08-21 Thread RANGA BHARATH JINKA
Try using virtual environment On Fri, 21 Aug 2020, 6:59 pm sapna Choudhary, wrote: > run command line django-admin ,you will see list of commands to run > > On Thu, Aug 20, 2020 at 6:47 PM company <2071...@hansung.ac.kr> wrote: > >> Hi, Django users. >> I started to learn programming this year

Re: hello every one. i have a probleme with 'pip install mysqlclient' please i need a help

2020-08-24 Thread RANGA BHARATH JINKA
Hi, Please check the location of the .whl file. Copy .whl file into your project root folder and install. All the best. On Mon, Aug 24, 2020 at 1:04 PM Makan Leboss wrote: > *my error code is:* " (myvenv) c:\djangoboys\dagakane>pip install > mysqlclient-1.4.6-cp38-cp38-win32.whl > WARNING:

Re: Limit the choices for a ForeignKey

2020-09-27 Thread RANGA BHARATH JINKA
Hi, Check this. This may be useful for you. It is based on dependent dropdown. https://www.youtube.com/watch?v=U_qPp6vPl-g On Sun, Sep 27, 2020 at 10:09 PM Marco Paradisi wrote: > Hi Everyone! > > I need to filter the choices for a foreign key. > > My Model has an attribute SEX that

Re: How to resize image when uploading to the cloudinary?

2020-09-29 Thread RANGA BHARATH JINKA
Hi, I saw a video to upload images to cloudinary. Check it out. https://youtu.be/1T6G7Znrbfg On Tue, Sep 29, 2020 at 7:12 PM abhay santra wrote: > Thank you everyone... > > On Friday, September 25, 2020 at 9:53:32 PM UTC+5:30 Kasper Laudrup wrote: > >> Hi Abbay, >> >> On 25/09/2020

Re: Recruitment

2020-09-23 Thread RANGA BHARATH JINKA
I am interested On Wed, Sep 23, 2020 at 8:14 PM Anh Nguyen wrote: > I’m, interested! > > On Sep 23, 2020, at 14:23, Harish Thiyagharajan < > harishthiyagh...@gmail.com> wrote: > > I want a interested django user , DM mail for more details , all the > details including payment can be discussed

Re: How to resize image when uploading to the cloudinary?

2020-09-25 Thread RANGA BHARATH JINKA
Hi, Check this. https://cloudinary.com/documentation/django_image_manipulation On Fri, Sep 25, 2020 at 8:49 PM abhay santra wrote: > > Hi, > I would like to know how to resize any image when uploading to the > cloudinary in django? > > -- > You received this message because you are

Re: domain/sitemap.xml HTTP Error 500, site matching query does not exist

2020-09-26 Thread RANGA BHARATH JINKA
Check the whole logs by going up On Sun, Sep 27, 2020 at 11:07 AM dum dum wrote: > [image: image.png] > This is what I got from heroku logs --tail. > > Thanks. > > On Sun, Sep 27, 2020 at 12:30 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >>

Re: domain/sitemap.xml HTTP Error 500, site matching query does not exist

2020-09-26 Thread RANGA BHARATH JINKA
Hi, Run heroku logs --tail in terminal All the best On Sun, Sep 27, 2020 at 10:51 AM dum dum wrote: > what do you mean "log files"? > Is that logs in terminal or ? > > In my terminal it works normal, no problem at all. > in localhost it works normal, but in production I got http error

Re: Help in deploying my app!!!!!!!

2020-09-22 Thread RANGA BHARATH JINKA
Hi, For deploying both as a single, you have to run npm run build. Then Link in django settings templates the build path of the dist folder. Every time you make a change run, npm run build. All the best. On Tue, Sep 22, 2020 at 7:35 PM Vishwajit Bhagat <

Re: Upload Imagae

2020-09-17 Thread RANGA BHARATH JINKA
Hi, Watch the django part of this video https://youtu.be/1Hc7KlLiU9w All the best On Thu, Sep 17, 2020 at 12:42 PM Kasper Laudrup wrote: > Hi kkwaqar007, > > On 17/09/2020 08.17, kkwaq...@gmail.com wrote: > > *How To Upload Image and save the file and save the databases * > > I have a

Re: Help in deploying my app!!!!!!!

2020-09-22 Thread RANGA BHARATH JINKA
Sure  On Tue, 22 Sep 2020, 8:06 pm Vishwajit Bhagat, wrote: > Thanks bro. I will reach you if I got errors. > > On Tue, Sep 22, 2020, 7:55 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> >> For deploying both as

Re: How to get logged in user location and save it in database

2020-09-30 Thread RANGA BHARATH JINKA
Hi, Use javascript location api https://www.w3schools.com/html/html5_geolocation.asp All the best On Thu, Oct 1, 2020 at 9:59 AM Ram wrote: > Hi All, > > I'm looking for a way to capture location of logged in users in our Web > App and save that location into our database. > >

Re: How to resize image when uploading to the cloudinary?

2020-09-30 Thread RANGA BHARATH JINKA
https://youtu.be/inQyZ7zFMHM Check this out. All the best  On Thu, 1 Oct 2020, 5:10 am abhay santra, wrote: > Thank you man... > have you worked with Amazon s3 in django? > > On Wednesday, September 30, 2020, RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: >

Re: Send csrf token and retrieve with javascript?

2020-09-30 Thread RANGA BHARATH JINKA
Hi, Check the docs link. This will be useful. All the best https://docs.djangoproject.com/en/3.1/ref/csrf/ On Thu, Oct 1, 2020 at 5:10 AM Alexandro Gonçalves Dos Santos < alexandrogon...@gmail.com> wrote: > I am building a django api to be used in a front end of another server, > how do I

Re: Mass Emailing

2020-10-01 Thread RANGA BHARATH JINKA
https://github.com/sherzberg/django-emailer On Thu, Oct 1, 2020 at 1:18 PM RANGA BHARATH JINKA wrote: > Hi, > > Try these. This may be useful > > https://pypi.org/project/django-massmailer/ > > https://docs.djangoproject.com/en/3.1/topics/email/#send-

Re: Mass Emailing

2020-10-01 Thread RANGA BHARATH JINKA
Hi, Try these. This may be useful https://pypi.org/project/django-massmailer/ https://docs.djangoproject.com/en/3.1/topics/email/#send-mass-mail https://stackoverflow.com/questions/8659131/how-does-one-send-an-email-to-10-000-users-in-django All the best On Thu, Oct 1, 2020

Re: How to get logged in user location and save it in database

2020-10-01 Thread RANGA BHARATH JINKA
" attribute in this example. So > where attribute should also include nearest city name in that country. > > [image: image.png] > > > Best Regards, > ~Ram > > On Wed, Sep 30, 2020 at 10:36 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: >

Re: how to create url helloworld

2020-09-19 Thread RANGA BHARATH JINKA
Hi, Please check the typo. It is django.http On Sun, 20 Sep 2020, 12:11 am coolguy, wrote: > Instead of > from pages import views > > use > from . import views > On Saturday, September 19, 2020 at 11:15:34 AM UTC-4 leoa...@gmail.com > wrote: > >> *file views.py in folder pages >> >>

Re: New Users Unable to Use Website

2020-09-19 Thread RANGA BHARATH JINKA
Hi, Try this. https://stackoverflow.com/questions/36317816/relatedobjectdoesnotexist-user-has-no-userprofile All the best  On Sun, 20 Sep 2020, 8:50 am Lightning Bit, < thelegendofearthretu...@gmail.com> wrote: > Encountering a lot of errors here. Here is the spill: > > > *THE CASE:* >

Re: Django compatibility with Django 3.0

2020-09-21 Thread RANGA BHARATH JINKA
Hi, Check this official docs from oracle. https://developer.oracle.com/dsl/vasiliev-django.html On Mon, Sep 21, 2020 at 3:49 PM Vishnu Bhandari wrote: > Hi folks, > Does django 3.0 support oracle 19c database. > If not, How can we achieve this? > > -- > You received this message because

Re: New Users Unable to Use Website

2020-09-20 Thread RANGA BHARATH JINKA
You are welcome  On Sun, Sep 20, 2020 at 9:08 PM King Niko wrote: > This method works! Thank you! > > On Sat, Sep 19, 2020 at 23:32 RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> >> Try this. >> >> https://stackoverfl

Re: Regd:- Generating PDF from HTML with image

2020-10-27 Thread RANGA BHARATH JINKA
Hi, Refer to this. https://www.youtube.com/watch?v=5umK8mwmpWM_channel=DennisIvy On Tue, Oct 27, 2020 at 7:24 PM Senthil Kumar wrote: > Thanks a lot. We will check it out & get back to you > > On Tue, Oct 27, 2020 at 6:43 PM Derek wrote: > >> You can try : https://pypi.org/project/xhtml2pdf/

Re: Regd:- Generating PDF from HTML with image

2020-10-27 Thread RANGA BHARATH JINKA
Hi, Refer this forGenerating PDF from HTML with image https://youtu.be/txlKYeLEflY On Tue, Oct 27, 2020 at 7:27 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Refer to this. > > https://www.youtube.com/watch?v=5umK8mwmpWM_channel=DennisIvy > > O

Re: Regd:- Generating PDF from HTML with image

2020-10-27 Thread RANGA BHARATH JINKA
Hi, Refer to this too. All the best  https://youtu.be/J3MuH6xaDjI On Tue, Oct 27, 2020 at 7:29 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Refer this forGenerating PDF from HTML with image > > https://youtu.be/txlKYeLEflY > > On Tue, Oc

Re: Django3 runserver error

2020-07-31 Thread RANGA BHARATH JINKA
= models.ForeignKey(Product, null=True, on_delete=models.SET_NULL) > date_created = models.DateTimeField(auto_now_add=True, null=True) > status = models.CharField(max_length=200, null=True, choices=STATUS) > note = models.CharField(max_length=1000, null=True) > > def __st

Re: How to build a comprehensive chat system with django

2020-08-10 Thread RANGA BHARATH JINKA
https://blog.heroku.com/in_deep_with_django_channels_the_future_of_real_time_apps_in_django On Mon, Aug 10, 2020 at 3:57 PM sunday honesty wrote: > I recently got employed in this company as a django developer. > After one week, it seems they liked me and believe I could do anything. > Today,

Re: Expire session after N minutes of inactivity

2020-07-14 Thread RANGA BHARATH JINKA
https://pypi.org/project/django-session-timeout/ On Tue, Jul 14, 2020 at 10:36 PM Dan Davis wrote: > Does anyone know of a django pypi package that implements something like > this so that I can steal the code? I know I need to think about "what does > inactivity mean" in the era of SPA and

Re: User.objects.all() only returns username

2020-07-03 Thread RANGA BHARATH JINKA
send me your models.py On Fri, Jul 3, 2020 at 12:06 PM Mohsen Pahlevanzadeh < m.pahlevanza...@gmail.com> wrote: > When I use select * from auth_user; I get the following result: > > >

Re: User.objects.all() only returns username

2020-07-03 Thread RANGA BHARATH JINKA
Send me views.py On Fri, 3 Jul 2020, 12:36 pm Mohsen Pahlevanzadeh, < m.pahlevanza...@gmail.com> wrote: > I don't have model.py for auth_user. > > On Friday, July 3, 2020 at 11:10:17 AM UTC+4:30, RANGA BHARATH JINKA wrote: >> >> send me your models.py >> >>

Re: Work in django!!

2020-06-16 Thread RANGA BHARATH JINKA
Hi, You can use the folium package. On Wed, Jun 17, 2020 at 9:28 AM meera gangani wrote: > Hello , > >I want to work with maps in django, which libraries i installed! > > Thank to you in advance > -Meera > > > -- > You received this message because you are subscribed to the Google

Re: Please help me out!

2020-06-19 Thread RANGA BHARATH JINKA
Hi, You can use this. https://pypi.org/project/django-notifications-hq/ https://pypi.org/project/django-notification/ On Fri, Jun 19, 2020 at 1:38 PM Doddahulugappa.B wrote: > Please elaborate more on your requirement > > On Fri, Jun 19, 2020, 10:31 AM meera gangani > wrote: > >> Hello , >>

Re: python manage.py runserver error

2020-06-19 Thread RANGA BHARATH JINKA
Hi, You have to go into your django project folder where manage.py file is located. Test with using "ls" inside your command prompt. All the best. On Fri, Jun 19, 2020 at 5:08 PM Tanisha Jain wrote: > still the problem persists. > > On Fri, 19 Jun 2020 at 07:15, Utsab Bashyal wrote: > >>

Re: Unable to import HTML code

2020-06-29 Thread RANGA BHARATH JINKA
Hi, I want to give some steps to go through. 1. Try to close the server and run again. 2. Hard reload the page using ctrl+shift+r and check the console for any errors like css file not found. 3. Check whether the file is linking properly to the correct location in static folder.

Re: cant be able to setup GDAL in django prject

2020-06-16 Thread RANGA BHARATH JINKA
Hi, If you want to work with maps u can use foilum package. Watch foilum video of traversy media on youtube. On seeing your error, it is saying that the loation path is not correct. It is not able to find the file path correctly. Instead use python os module to locate the file exactly. Ex:-

Re: cant be able to setup GDAL in django prject

2020-06-16 Thread RANGA BHARATH JINKA
https://www.youtube.com/playlist?list=PL7amXK4vKqATa_KrfQ3_tEF_ywAgAqWeJ You can watch this playlist on youtube. On Tue, Jun 16, 2020 at 4:43 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > If you want to work with maps u can use foilum package. Watch

Re: events calendar

2020-06-16 Thread RANGA BHARATH JINKA
Hi, You can make use of django-calendars to implement this. All the best. https://pypi.org/project/django-calendarium/ https://medium.com/@unionproject88/django-and-python-calendar-e647a8eccff6 On Tue, Jun 16, 2020 at 5:59 PM Nouhaila Khiyate < nouhaila.khiyat...@gmail.com> wrote: > hello,

Re: Need help

2020-06-14 Thread RANGA BHARATH JINKA
Hi, You should not load html file directly. You have to include html file inside a view, and call the url linked to that view in urls.py file. You have to use the url to access the view. All the best. On Mon, Jun 15, 2020 at 3:33 AM Yannick Kiki wrote: > {% load static %} should be the

Re: import my data and generating models.py

2020-06-19 Thread RANGA BHARATH JINKA
Hi, Try this. https://simpleisbetterthancomplex.com/packages/2016/08/11/django-import-export.html https://docs.djangoproject.com/en/3.0/howto/initial-data/ https://django-import-export.readthedocs.io/en/latest/getting_started.html On Fri, Jun 19, 2020 at 11:37 AM Mohsen Pahlevanzadeh <

Re: Any free MAP API available

2020-06-04 Thread RANGA BHARATH JINKA
Hi, You can convert zipcode to latitude and longitude using this module. And use those in your map using folium. https://pypi.org/project/pgeocode/ On Thursday, June 4, 2020 at 3:15:55 AM UTC+5:30, Ram wrote: > > Hi, > > We need to add location map based on the zip code in our DJango web >

Re: Any free MAP API available

2020-06-04 Thread RANGA BHARATH JINKA
import pgeocode import folium ''' Provide a Country code and postal code. It will generate a map in a html file based on these details. Used pgeocode and folium packages. ''' def zipcode_to_map(country_code, postal_code): country_code = pgeocode.Nominatim(country_code) zip_code =

Re: Any free MAP API available

2020-06-04 Thread RANGA BHARATH JINKA
You can refer these links. https://towardsdatascience.com/visualizing-data-at-the-zip-code-level-with-folium-d07ac983db20 https://morioh.com/p/d896544d6977 https://towardsdatascience.com/making-3-easy-maps-with-python-fb7dfb1036 On Thursday, June 4, 2020 at 3:15:55 AM UTC+5:30, Ram wrote: > >

Re: Any free MAP API available

2020-06-04 Thread RANGA BHARATH JINKA
Hi, You can use folium module in python to achieve this. Link to module. Folium Maps Hope this helps. All the best. On Thursday, June 4, 2020 at 3:15:55 AM UTC+5:30, Ram wrote: > > Hi, > > We need to add location map based on the zip code in our DJango

Re: Any free MAP API available

2020-06-04 Thread RANGA BHARATH JINKA
Hi, I created this python module. It will convert zipcode to a html map. You can use this. I will link the example usage github link. https://github.com/bharathjinka09/zipcode_to_map https://pypi.org/project/zipcode-to-map/ On Thursday, June 4, 2020 at 3:15:55 AM UTC+5:30, Ram wrote: > > Hi, >

Re: Filter in Template

2020-07-23 Thread RANGA BHARATH JINKA
https://gist.github.com/vitorfs/7d9e2d2c48fab9d6f432717814e6b762 On Thu, Jul 23, 2020 at 5:29 PM Giovanni Silva wrote: > Hi all, > > Can you have a tutorial showing how can I build a filter in a Template > using startswith? > > Best Regards, > > -- > *Giovanni Silva* > (31) 9 9532-1877 > > -- >

Re: Filter in Template

2020-07-23 Thread RANGA BHARATH JINKA
https://docs.djangoproject.com/en/3.0/howto/custom-template-tags/ On Thu, Jul 23, 2020 at 5:36 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > https://gist.github.com/vitorfs/7d9e2d2c48fab9d6f432717814e6b762 > > On Thu, Jul 23, 2020 at 5:29 PM Giovanni Silva wro

Re: Django rest framework

2020-07-23 Thread RANGA BHARATH JINKA
Hi, You can use requests library On Thu, Jul 23, 2020 at 3:59 PM Chander shekhar wrote: > Can someone suggest me the best sources to implement Django rest framework > video ? > How can I fetch api without Js? > Help > > -- > You received this message because you are subscribed to the Google

Re: downloading image files from django template

2020-07-26 Thread RANGA BHARATH JINKA
Good On Sun, Jul 26, 2020 at 8:17 PM adiath...@gmail.com wrote: > Thanks, I got the answer. Working now. > > On Sunday, July 26, 2020 at 7:40:42 AM UTC-7 bharath...@gmail.com wrote: > >> Use anchor tag for images url >> >> On Sun, Jul 26, 2020 at 10:16 AM Teaching Tech >> wrote: >> >>> How can

Re: downloading image files from django template

2020-07-26 Thread RANGA BHARATH JINKA
Use anchor tag for images url On Sun, Jul 26, 2020 at 10:16 AM Teaching Tech wrote: > How can I download an image file that is shown to the template in Django? > I'm new to Django. This might be a silly question. But I need to know for > my existing project. > > -- > You received this message

Re:

2020-07-28 Thread RANGA BHARATH JINKA
Try heroku. Maybe it will be faster. On Tue, Jul 28, 2020 at 2:43 PM Anupriya Nishad wrote: > I hosted my web app on a free hosting site pythonanywhere.com > But it is taking too long to respond. > What could be the reason? > > -- > You received this message because you are subscribed to the

Re: Django app to PWA

2020-07-23 Thread RANGA BHARATH JINKA
https://github.com/silviolleite/django-pwa https://github.com/silviolleite/django-pwa-demo On Thu, 23 Jul 2020, 8:06 am Ryan Nowakowski, wrote: > > > On July 21, 2020 3:36:36 PM CDT, Anirudh choudhary < > anirudhchoudary...@gmail.com> wrote: > >Hello everyone > > > >can anyone share me the

Re: Django app to PWA

2020-07-24 Thread RANGA BHARATH JINKA
I followed this link. It's working perfectly fine. https://github.com/silviolleite/django-pwa On Fri, Jul 24, 2020 at 1:06 PM Omkar Parab wrote: > I just installed django-pwa in my django site, and it's working properly. > > On Wed, Jul 22, 2020, 2:06 AM Anirudh choudhary < >

Re: Django app to PWA

2020-07-24 Thread RANGA BHARATH JINKA
https://bharath-shop.herokuapp.com/ This is the Django E-Commerce website converted to PWA. Note:- It should be https secure while hosting. Otherwise it won't convert to PWA. But in localhost it works. On Fri, Jul 24, 2020 at 1:14 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote

Re: Django app to PWA

2020-07-24 Thread RANGA BHARATH JINKA
http://bharath-shop.herokuapp.com/ This is the Django website i converted to PWA On Fri, Jul 24, 2020 at 1:14 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > I followed this link. It's working perfectly fine. > > https://github.com/silviolleite/django-pwa > >

Re: Django3 runserver error

2020-07-30 Thread RANGA BHARATH JINKA
Send your models.py file On Fri, 31 Jul 2020, 8:09 am RANGA BHARATH JINKA, wrote: > Hi convert it into string while displaying it in models __str__. > Or use f-strings. It is easy. All the best  > > On Thu, 30 Jul 2020, 8:29 pm ROHINI PUNDE, wrote: > >> I have

Re: Django3 runserver error

2020-07-30 Thread RANGA BHARATH JINKA
Hi convert it into string while displaying it in models __str__. Or use f-strings. It is easy. All the best  On Thu, 30 Jul 2020, 8:29 pm ROHINI PUNDE, wrote: > I have error while updating the information,so many trials I cant solve > this problem,so please help me for this > > > On Thu, Jul

Re: Dynamic Set

2020-08-16 Thread RANGA BHARATH JINKA
Hi, Try this. All the best. https://stackoverflow.com/questions/962619/how-to-pull-a-random-record-using-djangos-orm On Sun, Aug 16, 2020 at 5:20 PM Soumen Khatua wrote: > Hi Folks, > > In my database under Quiz-A: a user can update 5 MCQ questions and another > user can update 6

Re: Is it possible to use REST API on Django template ?

2020-11-28 Thread RANGA BHARATH JINKA
Hi Use JavaScript or jQuery to call APIs in frontend of Django template. You can use fetch API using vanilla JavaScript. You can perform all CRUD operations. All the best  On Sun, 29 Nov 2020, 11:57 am Aman Modi, wrote: > I know how to create API but i just want to know how to use in Django >

Re: Debbuging

2020-11-15 Thread RANGA BHARATH JINKA
Hi, Run python manage.py makemigrations python manage.py migrate It will create tables in database using your models All the best On Mon, Nov 16, 2020 at 8:58 AM Sidy Mactar wrote: > it's done > > Le lundi 16 novembre 2020 à 03:22:48 UTC, zica...@gmail.com a écrit : > >> please post your

Re: QUIZ APP

2020-11-05 Thread RANGA BHARATH JINKA
Hi, You can refer this. All the best  https://youtu.be/bHnT1apz8u8 On Thu, 5 Nov 2020, 7:36 pm jassija...@gmail.com, wrote: > hello, I'm Jaspreet singh > I'm learning Django for my College Project > > Can anyone help me with it im working on QUIZ APP > IT WOULD BE GREAT IF SOMEONE HELPS OR

Re: Error After Heroku Deployment

2020-12-30 Thread RANGA BHARATH JINKA
Hi, Run heroku run python manage.py makemigrations heroku run python manage.py migrate All the best On Wed, Dec 30, 2020 at 8:18 PM Sumit Pande <2018bit...@sggs.ac.in> wrote: > ProgrammingError at /accounts/login/ > relation "django_site" does not exist > LINE 1: ..."django_site"."domain",

Re: attempt to write a readonly database

2020-12-30 Thread RANGA BHARATH JINKA
hi, Try running as the root user using sudo permissions. All the best On Wed, Dec 30, 2020 at 8:18 PM Steven Mapes wrote: > This normally means that the user you are running your project as does not > have access to the SQLLite database file. I can see that you are running on > windows so

Re: how create new django project with windows 10 and Python 3.9.1

2021-01-27 Thread RANGA BHARATH JINKA
Hi, Don't use py in front. Try with django-admin startproject . Also create a virtual environment and install modules inside that All the best On Wed, Jan 27, 2021 at 7:33 PM Fabio Fidone wrote: > [image: image.png] > > please, Can Someone help me to create a new project with python 3.9.1 and

Re: struck at gettiing each product urls from addidas website

2021-06-21 Thread RANGA BHARATH JINKA
Hi, Try to print all the variables one by one. You will get to know from where the issue is coming from. All the best On Tue, Jun 22, 2021 at 10:06 AM ram manoj Vuyyuru < rammanojvuyy...@gmail.com> wrote: > Hi previous one prints nothing > > and this is another way but getting nothing > >

Re: how to prevent Django do auto capitalize static text in templates

2021-05-18 Thread RANGA BHARATH JINKA
Hi, Try this jinja templating lower filter {{ 'helLo WOrlD'|lower }} On Tue, May 18, 2021 at 6:26 PM David Tobrise wrote: > What happens if you try outputting the units from dynamically instead of > hard-coding it? > > *Best Regards,* > *David O. T.* > > > > > On Tue, May 18, 2021 at 1:07 PM

  1   2   >