Re: Please help me out!!

2020-06-01 Thread Kasper Laudrup
Hi Meer,a On 01/06/2020 19.50, meera gangani wrote: I want to mark the attendance of all the employee So , my I’m working on hr management system . And we have to mark the attendance of all the employee So, we thought something new we can implement So we find a way 1. to using MAC address

Please help me out!!

2020-06-01 Thread meera gangani
I want to mark the attendance of all the employee So , my I’m working on hr management system . And we have to mark the attendance of all the employee So, we thought something new we can implement So we find a way 1. to using MAC address otherwise IP address 2. Employee comes in building he can

django debug settings

2020-06-01 Thread Alba
I need to change the settings to debug = false but when I enter *server_name* .webfaction.com, I get an error "server IP address could not be found." How can I solve this? -- You received this message because you are

Re: Issue with serving angular with django

2020-06-01 Thread Andréas Kühne
Hi Sunday, No - you don't. What collectstatic does is it collects all of the static files to the path where they should be stored. This should be a directory that should be served from nginx or apache or any other webserver. When you run manage.py runserver - you run a development server that

Re: django debug settings

2020-06-01 Thread Akinfolarin Stephen
can i see your settings.py On Tue, Jun 2, 2020 at 6:51 AM Alba wrote: > I need to change the settings to debug = false but when I enter > *server_name* > . > webfaction.com, I get an error "server IP address could not be found."

Can you please help me

2020-06-01 Thread Ogunsanya Opeyemi
How do i upload images using pillow in django and my database engine is mysql. I am trying to view my uploaded image but i can't find it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Can you please help me

2020-06-01 Thread Ayush Gupta
On Mon, Jun 1, 2020, 7:02 PM Ogunsanya Opeyemi wrote: > How do i upload images using pillow in django and my database engine is > mysql. I am trying to view my uploaded image but i can't find it. > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Multiple checkboxes are not working,it is showing selected choice isn't a valid choice.

2020-06-01 Thread learn code
Hello, I'm working on a application form it has multiple checkboxes,when I submit the form it is showing selected choice isn't a valid choice. If anyone knows how to use checkboxes in ModelForm plz help me. Models.py class Application(models.Model): STATE_CHOICES =(

Re: Django Pagination

2020-06-01 Thread maninder singh Kumar
I think there might be a way around, below is the code modified for views.py @login_required def home_view(request): """Display all the post of friends and own posts on the dashboard""" posts = Post.objects.order_by('-date_posted') media: MEDIA_URL #

Re: django debug settings

2020-06-01 Thread Akinfolarin Stephen
On Tuesday, June 2, 2020 at 6:51:33 AM UTC+14, Alba wrote: > > I need to change the settings to debug = false but when I enter > *server_name* > . > webfaction.com, I get an error "server IP address could not be found." > How

Payment methods

2020-06-01 Thread muazzem_ hossain
How to add few payment methods to django-oscar . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Issue with serving angular with django

2020-06-01 Thread Kasper Laudrup
Hi Sunday, On 01/06/2020 15.48, Sunday Iyanu Ajayi wrote: Please What am I doing wrong? Or are there better ways of serving angular build files on django? You haven't described how you are currently serving static files with Django. I suggest you start by reading this:

Re: Issue with serving angular with django

2020-06-01 Thread Chetan Ganji
You should use nginx to serve angular n static files and gunicorn for python Below tuts might help you. https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04 Look for a tutorial without docker.

Re: Issue with serving angular with django

2020-06-01 Thread Sunday Iyanu Ajayi
Hi Kasper, Thanks for the response. I serve my static file by running python manage.py collectstatic on the built file I get from the frontend angular guy *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Mon, Jun 1, 2020 at 2:55 PM Kasper Laudrup wrote: > Hi Sunday, > > On

Issue with serving angular with django

2020-06-01 Thread Sunday Iyanu Ajayi
Hi guys, I am working on a project which is made up of an angular and a django part. - The frontend dev develops the frontend, makes a build and forwards to me - I get the build and serve it using python manage.py collectstatic But my challenge is that 1. It only works when debug is set to

Re: Django Pagination

2020-06-01 Thread Akshat Zala
Dear Sir, it shows all the text on all the pages. if there are total 5 posts, then it shows all the 5 posts on all the pages. Thanks, Akshat Zala On Saturday, 30 May 2020 20:54:35 UTC+5:30, maninder singh Kumar wrote: > > Views.py looks fine ! > > regards > willy > > > On Sat, May 30, 2020

Re: Can you please help me

2020-06-01 Thread Kasper Laudrup
Hi Ogunsanya, On 01/06/2020 15.30, Ogunsanya Opeyemi wrote: How do i upload images using pillow in django and my database engine is mysql. I am trying to view my uploaded image but i can't find it. This might be relevant: https://www.geeksforgeeks.org/python-uploading-images-in-django/

Re: Need Dashboard in Django Admin only

2020-06-01 Thread Balaji Shetty
Thank you very much for your reply and support. I will definitely follow it. Yes I ma trying to help Government for Covid 19 Dashboard. On Sunday, May 31, 2020, Derek wrote: > There are numerous ways to design a front-end dashboard; this a highly > contested domain on the web! > > Just some

pagination of a specific context in multiple context in ListView not working in django?

2020-06-01 Thread Ali Ahammad
in django, i am trying to list some queries of several objects like user lists, categoies and Post list. the homepage will be contained couple of blocks or boxes. each box will have different query list like Post list, User List, category list. But only one context will have pagination and