Re: Internship

2019-12-11 Thread Dvs Khamele
Sure, I am Divyesh Khamele for Pythonmate, And we are looking for interns whom we can provide training and give back to society, You may mail your resume at pythonmatedivy...@gmail.com Many Thanks, Divyesh Khamele On Thu, 28 Nov 2019 at 20:29, Shubham Mishra wrote: > sir , I want to join the

Re: Looking for internship

2019-12-11 Thread Dvs Khamele
Sure, I am Divyesh Khamele for Pythonmate, And we are looking for interns whom we can provide training and give back to society, You may mail your resume at pythonmatedivy...@gmail.com Many Thanks, Divyesh Khamele On Wed, 11 Dec 2019 at 09:33, Anirudh choudhary < anirudhchoudary...@gmail.com>

Re: SuperUser not logging out after reboot

2019-12-11 Thread Miracle
Hello, If you don't want to be logged in, you can simply log out before closing the local server. Another way is to tell your browser not to save the password whenever you are logging in. I suppose you have atleast one email account or social media account. And I believe it logs you in

Code Inspect

2019-12-11 Thread Soumen Khatua
*class UserViewSet(viewsets.ModelViewSet):queryset = get_user_model().objectsserializer_class = UserSerializerdef get_permissions(self):if self.request.method == 'POST': self.permission_classes = (AllowAny,)return super(UserViewSet, self).get_permissions()* I didn't

Multiple Apps in one project with one database

2019-12-11 Thread Bruckner de Villiers
I got to generic views (CBV’s) in part 4 of the Django tutorials and decided instead of overwriting  the function views that I would get some practice by creating a new app (polls2).  The file structure is identical to the polls app, but obviously the code is different for the generic views and

Re: Unable to create a new virtual environement 'test'

2019-12-11 Thread Hima Bindu chowdary
it worked! really appreciate the help! On Wednesday, December 4, 2019 at 10:24:30 PM UTC+5:30, Manjunatha C wrote: > > Python -m venv envname > > Try with this command -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Need to Query complex django model

2019-12-11 Thread Kasper Laudrup
Hi Nitin, On 11/12/2019 08.04, Nitin Kalmaste wrote: Hello community, I need to make django views for the models described below. How do i create query to write in view https://stackoverflow.com/questions/59280345/how-to-query-django-models-for-complex-models-like-this You are approaching

SuperUser not logging out after reboot

2019-12-11 Thread Bruckner de Villiers
Running Django 3, Python 3.7.3, Chrome Browser on MacOS Catalina. All the code and db are on an external Volume. After a reboot (Restart on Mac), http://127.0.0.1:8000/admin/ displayed the admin page without requesting a login.  Not good for serious apps.  Probably something in my Chrome

Re: I need any internship

2019-12-11 Thread Dvs Khamele
Sure, I am Divyesh Khamele from Pythonmate, And we are looking for interns whom we can provide training and give back to society, You may mail your resume at pythonmatedivy...@gmail.com Many Thanks, Divyesh Khamele On Thu, 28 Nov 2019 at 03:59, mohamed khaled wrote: > I would like to work with

Re: SuperUser not logging out after reboot

2019-12-11 Thread Bruckner de Villiers
Thank you – thought that this is the case.  However, I am trying to cater for the user who forgot to log out. Regards, Bruckner de Villiers 083 625 1086 From: on behalf of Miracle Reply to: Date: Wednesday, 11 December 2019 at 12:09 To: Subject: Re: SuperUser not logging out after

How to search product in the integrated Google maps in the web applicaiton

2019-12-11 Thread Wasim Rana
Hi, how are you doing today? I am trying to build a web application where there will be buyer and seller. Buyer needs to create an account after that if he/she search for a service then it'll bring the seller information with location in the map. Also it'll show the distance and route. How can

Stuck trying to add an image display to admin

2019-12-11 Thread Joel Ricker
In my admin I have a section for editing products and for each product has a one to many of sample images. I wanted to display the image for convience in my StackedInline for the sample images. However after setting everything up to display the sample image, I am still getting an internal error

Re: Looking for internship

2019-12-11 Thread Abhishek Satbhai
Which programing languages you know? On Wednesday, December 11, 2019 at 9:33:37 AM UTC+5:30, Anirudh choudhary wrote: > > Hello all > I am looking for internship in Delhi or pune. I am currently in 6 sem of > engineering mechatronics in ADYPU. > I am ready to work as part time , full time,

Re: ''workon' is not recognized as an internal or external command, operable program or batch file'

2019-12-11 Thread rishabh roy
hey hima i got the same error and installed workon package pip but now it still gives error : (test) c:\Users\User\test\Lib\site-packages>python -m workon test C:\Users\User\test\Scripts\python.exe: No module named workon.__main__; 'workon' is a package and cannot be directly executed -- You

Re: Multiple Apps in one project with one database

2019-12-11 Thread Bruckner de Villiers
OK, got it.  Changed polls2/views.py to “from polls.models import Choice, Question” instead of “from .models import Choice, Question”.  It works, but VSCode doesn’t like “polls.model” – it gives a warning “unresolved import”. Much obliged, Bruckner de Villiers 083 625 1086 From: on

Live notifications using channels

2019-12-11 Thread Suraj Thapa FC
Can anyone guide me to implement live notifications system in DRF. -- 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

unable to execute 'workon' command

2019-12-11 Thread rishabh roy
I am unable get into a virtualenv in vscode: c:\Users\User\test\Lib\site-packages>python -m workon tygu C:\Users\User\test\Scripts\python.exe: No module named workon.__main__; 'workon' is a package and cannot be directly executed workon is present in c:\Users\User\test\Lib\site-packages tygu

Re: Multiple Apps in one project with one database

2019-12-11 Thread Miracle
Multiple Apps can point to one database. What happens is that django creates different tables in the database. It uses this format to create the tables 'appname_modelname' e.g. polls_question Infact, if you remember earlier on before runnung your first "python manage.py migrate". Django

Nepal Government: Boycott Nepal until Gadhimai animal sacrifice ends!

2019-12-11 Thread pematg405
Hallo, ich habe gerade die Petition „Nepal Government: Boycott Nepal until Gadhimai animal sacrifice ends!" unterschrieben und wollte dich fragen, ob du auch mitmachst. Unser Ziel ist es, 5.000 Unterschriften zu sammeln und dafür brauchen wir Unterstützung. Hier kannst du mehr über die Petition

Re: How to add navigatinon bar or Menu Bar in Django Admin Panel only

2019-12-11 Thread Integr@te System
Hi, https://medium.com/crowdbotics/how-to-add-a-navigation-menu-in-django-admin-770b872a9531 On Wed, Dec 11, 2019, 15:22 Balaji Shetty wrote: > Hi > > Can anyone help me in adding Navigatinon Bar in Django Admin Panel in > Backend. > > I have to generate some customized reports using Aggregate

Re: Code Inspect

2019-12-11 Thread Integr@te System
Hi, You may need refer to ModelViewSet class that inherit from GenericAPIView class https://www.django-rest-framework.org/api-guide/viewsets/#modelviewset On Wed, Dec 11, 2019, 16:38 Soumen Khatua wrote: > > > > > > > > > *class UserViewSet(viewsets.ModelViewSet):queryset = >

Re: passing an argument to ListView class and accessing using kwargs

2019-12-11 Thread Patrick Carra
Thank you Dominick your second suggestion worked beautifully! I appreciate your time and expertise! -- 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: Django DEBUG magic, and a bizarre bug under django-extra-views

2019-12-11 Thread Alaina Rowe
Quick bump to see if anyone has insight on this. On Friday, December 6, 2019 at 5:08:41 PM UTC-6, Alaina Rowe wrote: > > I have not been able to reproduce the bug I am about to describe when > DEBUG is True, whether in production on Apache or locally on the Django dev > server. So my first

Re: Influencing order of internal migration operations

2019-12-11 Thread Simon Charette
Hello Rich, Unfortunately the migration framework is not smart enough to resolve this kind of dependency. The order of operation/migrations of the makemigrations is generated by the autodetector which hardcodes most of its logic. I would have assumed that constraints were generated _after_

Influencing order of internal migration operations

2019-12-11 Thread Rich Rauenzahn
I've created a CompositeForeignKey constraint derived from Django's new BaseConstraint. It requires that I manually make a unique_together in any of the referenced models views due to the DB internal requirements of composite foreign keys. It mostly works -- except that when the operations

Django does not Override Settings in Template Tag Testing

2019-12-11 Thread Eray Erdin
I have actually provided quite much verbose information in Stackoverflow . I have a problem overriding settings as testing template tags. I leave this here in case you are interested. --

How to run django app runserver on Apache

2019-12-11 Thread Rupam Hazra
Please help me out. How to run django app runserver on Apache ? -- 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.

Re: How to run django app runserver on Apache

2019-12-11 Thread Virendra Tripathi
https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/modwsgi/ Virendra On Wed, Dec 11, 2019 at 8:59 PM Rupam Hazra wrote: > > Please help me out. > > How to run django app runserver on Apache ? > > -- > You received this message because you are subscribed to the Google Groups >

Re: SuperUser not logging out after reboot

2019-12-11 Thread Mike Dewhirst
On 11/12/2019 8:19 pm, Bruckner de Villiers wrote: Running Django 3, Python 3.7.3, Chrome Browser on MacOS Catalina. All the code and db are on an external Volume. After a reboot (Restart on Mac), http://127.0.0.1:8000/admin/ displayed the admin page without requesting a login.  Not good for

Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Django users, I have a problem with Set-Cookie not working in Chrome (I didn't check other browsers). It worked in the past but it stopped working recently. I have two websites with two domain names, and I need to set the cookie in both websites. I'm calling a URL in each of the domain names to

Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Hi, I want to add, the users login or logout or sign up to one website, and I want them to login or logout from the other website too, automatically. Currently if they login or logout to one website, it doesn't affect the other website. אורי u...@speedy.net ‪On Thu, Dec 12, 2019 at 7:45 AM

Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Hi, I asked a question on Stack Overflow: https://stackoverflow.com/questions/59298548/set-cookie-is-not-working-in-chrome-with-two-websites אורי u...@speedy.net ‪On Thu, Dec 12, 2019 at 7:45 AM ‫אורי‬‎ wrote:‬ > Django users, > > I have a problem with Set-Cookie not working in Chrome (I

Re: Set-Cookie is not working in Chrome

2019-12-11 Thread Mike Dewhirst
On 12/12/2019 4:48 pm, אורי wrote: Hi, I want to add, the users login or logout or sign up to one website, and I want them to login or logout from the other website too, automatically. Currently if they login or logout to one website, it doesn't affect the other website. Can you detect the

Re: Set-Cookie is not working in Chrome

2019-12-11 Thread אורי
Hi, On Thu, Dec 12, 2019 at 8:07 AM Mike Dewhirst wrote: > On 12/12/2019 4:48 pm, אורי wrote: > > Hi, > > > > I want to add, the users login or logout or sign up to one website, > > and I want them to login or logout from the other website too, > > automatically. Currently if they login or