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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4fa7f73b-a8d0-4784-9572-b7b07718ad8b%40googlegroups.com.


Sometime it's happening this error on server on django application

2019-12-10 Thread Rupam Hazra

Exception happened during processing of request from ('47.11.53.147', 47572)
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/socketserver.py", line 647, in 
process_request_thread
self.finish_request(request, client_address)
  File "/usr/local/lib/python3.7/socketserver.py", line 357, in 
finish_request
self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.7/socketserver.py", line 717, in __init__
self.handle()
  File 
"/var/www/html/ssil_env/lib/python3.7/site-packages/django/core/servers/basehttp.py",
 
line 153, in handle
self.handle_one_request()
  File 
"/var/www/html/ssil_env/lib/python3.7/site-packages/django/core/servers/basehttp.py",
 
line 161, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
  File "/usr/local/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
  File "/usr/local/lib/python3.7/ssl.py", line 1049, in recv_into
return self.read(nbytes, buffer)
  File "/usr/local/lib/python3.7/ssl.py", line 908, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4bc88110-6843-4f26-aa08-6f156fd162f0%40googlegroups.com.


Time tracker sytem

2019-02-03 Thread Rupam Hazra
I want to create a time tracker system to track the employee work time and 
data save to mysql database.please tell me how to start.

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6e4c36c8-10ea-403d-9afa-8c9b40c1f1e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django update one field by DeleteView

2018-12-11 Thread Rupam Hazra
Hi all,

I have project model.one functionality is when a project delete only* 
is_deleted* field modified by 1 so that in reality it does not delete from 
database just the status changed.That means i want to update the is_deleted 
field without any form.




-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ae793e8f-391c-49d6-b40c-f1c0efc6768e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django UpdateView and Createview

2018-12-11 Thread Rupam Hazra
Thanks, it is working

On Monday, 10 December 2018 18:19:34 UTC+5:30, Sidnei Pereira wrote:
>
> Hi,
>
> I don't know if I got it right , but you want to add/update as many 
> instance of Technologies as you want when creating/updating a Project, 
> right? Like when you use an inline on Django's admin 
> <https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin>
> .
>
> For that you could user Django Formsets 
> <https://docs.djangoproject.com/en/2.1/topics/forms/formsets/>. Here is 
> simple gist for you to get a feeling of it:
>
> https://gist.github.com/neara/6209563
>
> An observation about your models, since you want *a Projetct to have many 
> Technologies* you don't need a junction table. You could just user a 
> ForeignKey model field on the TechnologyMaster model that refers to 
> ProjectMaster model. The way you doing it know it's is actually a many to 
> many relationship. For a better understanding of it in the context of how 
> Django works with database modeling, see: 
>
> https://docs.djangoproject.com/en/2.1/topics/db/models/#relationships
>
> https://docs.djangoproject.com/en/2.1/topics/db/examples/
>
>
> Em segunda-feira, 10 de dezembro de 2018 07:34:54 UTC-2, Rupam Hazra 
> escreveu:
>>
>> Hi all,
>>
>> I know and understand how update view working but in my case how to 
>> implement on my case.
>>
>> Please suggest.;
>>
>> On Sunday, 9 December 2018 23:13:04 UTC+5:30, Okware Aldo wrote:
>>>
>>> Ryan's suggestion should give you a starting point. 
>>>
>>> On Sun, Dec 9, 2018 at 3:43 PM Deepak Kumar  
>>> wrote:
>>>
>>>> On Sunday, December 9, 2018 at 6:21:55 AM UTC+5:30, Ryan Nowakowski 
>>>> wrote:
>>>> > Take a look at 
>>>> https://docs.djangoproject.com/en/2.1/topics/class-based-views/generic-editing/
>>>> > 
>>>> > 
>>>> > On December 7, 2018 7:09:25 AM CST, Rupam Hazra  
>>>> wrote:
>>>> > 
>>>> > Hi,
>>>> > 
>>>> > 
>>>> > I have working in a TaskManagement Sytem where i have project module 
>>>> and technology module.
>>>> > 
>>>> > 
>>>> > class ProjectMaster(models.Model):
>>>> > name=models.CharField(max_length=255,blank=True,null=True)
>>>> > description=models.CharField(max_length=255,blank=True,null=True)
>>>> > is_agreement_sent=models.BooleanField(default=False)
>>>> > is_invoice_create=models.BooleanField(default=False)
>>>> > is_invoice_sent=models.BooleanField(default=False)
>>>> > is_paid=models.BooleanField(default=False)
>>>> > status=models.BooleanField(default=True)
>>>> > is_deleted=models.BooleanField(default=False)
>>>> > created_at=models.DateTimeField(auto_now_add=True)
>>>> > created_by = models.ForeignKey(User, 
>>>> on_delete=models.CASCADE,related_name='createdUser',blank=True,null=True)
>>>> > updated_at=models.DateTimeField(auto_now_add=True)
>>>> > updated_by=models.ForeignKey(User, on_delete=models.CASCADE, 
>>>> related_name='UpdUser',blank=True,null=True)
>>>> > #technology_master = models.ForeignKey(TechnologyMaster, 
>>>> on_delete=models.CASCADE, related_name='technologies', )
>>>> > 
>>>> > def __str__(self):
>>>> > return str(self.name)
>>>> > class TechnologyMaster(models.Model):
>>>> > #projectmaster = 
>>>> models.ForeignKey(ProjectMaster,on_delete=models.CASCADE)
>>>> > name=models.CharField(max_length=255,blank=True,null=True)
>>>> > status = models.BooleanField(default=True)
>>>> > is_deleted = models.BooleanField(default=False)
>>>> > created_at = models.DateTimeField(auto_now_add=True)
>>>> > created_by = models.ForeignKey(User, 
>>>> on_delete=models.CASCADE,blank=True, null=True,related_name='created_by')
>>>> > updated_at = models.DateTimeField(auto_now_add=True)
>>>> > updated_by = models.ForeignKey(User, 
>>>> on_delete=models.CASCADE,blank=True, null=True,related_name='updated_by')
>>>> > def __str__(self):
>>>> > return str(self.id)+'-'+ self.nameHere one functionality is 
>>>> one project has multiple technologies so i have made one mapping table 
>>>&g

Re: Django UpdateView and Createview

2018-12-10 Thread Rupam Hazra
Hi all,

I know and understand how update view working but in my case how to 
implement on my case.

Please suggest.;

On Sunday, 9 December 2018 23:13:04 UTC+5:30, Okware Aldo wrote:
>
> Ryan's suggestion should give you a starting point. 
>
> On Sun, Dec 9, 2018 at 3:43 PM Deepak Kumar  > wrote:
>
>> On Sunday, December 9, 2018 at 6:21:55 AM UTC+5:30, Ryan Nowakowski wrote:
>> > Take a look at 
>> https://docs.djangoproject.com/en/2.1/topics/class-based-views/generic-editing/
>> > 
>> > 
>> > On December 7, 2018 7:09:25 AM CST, Rupam Hazra  
>> wrote:
>> > 
>> > Hi,
>> > 
>> > 
>> > I have working in a TaskManagement Sytem where i have project module 
>> and technology module.
>> > 
>> > 
>> > class ProjectMaster(models.Model):
>> > name=models.CharField(max_length=255,blank=True,null=True)
>> > description=models.CharField(max_length=255,blank=True,null=True)
>> > is_agreement_sent=models.BooleanField(default=False)
>> > is_invoice_create=models.BooleanField(default=False)
>> > is_invoice_sent=models.BooleanField(default=False)
>> > is_paid=models.BooleanField(default=False)
>> > status=models.BooleanField(default=True)
>> > is_deleted=models.BooleanField(default=False)
>> > created_at=models.DateTimeField(auto_now_add=True)
>> > created_by = models.ForeignKey(User, 
>> on_delete=models.CASCADE,related_name='createdUser',blank=True,null=True)
>> > updated_at=models.DateTimeField(auto_now_add=True)
>> > updated_by=models.ForeignKey(User, on_delete=models.CASCADE, 
>> related_name='UpdUser',blank=True,null=True)
>> > #technology_master = models.ForeignKey(TechnologyMaster, 
>> on_delete=models.CASCADE, related_name='technologies', )
>> > 
>> > def __str__(self):
>> > return str(self.name)
>> > class TechnologyMaster(models.Model):
>> > #projectmaster = 
>> models.ForeignKey(ProjectMaster,on_delete=models.CASCADE)
>> > name=models.CharField(max_length=255,blank=True,null=True)
>> > status = models.BooleanField(default=True)
>> > is_deleted = models.BooleanField(default=False)
>> > created_at = models.DateTimeField(auto_now_add=True)
>> > created_by = models.ForeignKey(User, 
>> on_delete=models.CASCADE,blank=True, null=True,related_name='created_by')
>> > updated_at = models.DateTimeField(auto_now_add=True)
>> > updated_by = models.ForeignKey(User, 
>> on_delete=models.CASCADE,blank=True, null=True,related_name='updated_by')
>> > def __str__(self):
>> > return str(self.id)+'-'+ self.nameHere one functionality is 
>> one project has multiple technologies so i have made one mapping table 
>> belowclass ProjectTechnologyMapping(models.Model):
>> > project_master = models.ForeignKey(ProjectMaster, 
>> on_delete=models.CASCADE, related_name='projects')
>> > technology_master = models.ForeignKey(TechnologyMaster, 
>> on_delete=models.CASCADE, related_name='technologies')
>> > status = models.BooleanField(default=True)
>> > is_deleted = models.BooleanField(default=False)
>> > created_at = models.DateTimeField(auto_now_add=True)
>> > created_by = models.ForeignKey(User, 
>> on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_created_user')
>> > updated_at = models.DateTimeField(auto_now_add=True)
>> > updated_by = models.ForeignKey(User, 
>> on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_updated_user')
>> > def __str__(self):
>> > return str(self.id)So, my question is how add and update using 
>> django createview,updateview (generic view) using templates.
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/b0be82da-dca5-4594-9f22-e0c3323adc3b%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fc5e6fe9-3169-4c7e-8aec-dc1880718cda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django UpdateView and Createview

2018-12-07 Thread Rupam Hazra
Hi,

I have working in a TaskManagement Sytem where i have *project *module and 
*technology 
*module.

class ProjectMaster(models.Model):
name=models.CharField(max_length=255,blank=True,null=True)
description=models.CharField(max_length=255,blank=True,null=True)
is_agreement_sent=models.BooleanField(default=False)
is_invoice_create=models.BooleanField(default=False)
is_invoice_sent=models.BooleanField(default=False)
is_paid=models.BooleanField(default=False)
status=models.BooleanField(default=True)
is_deleted=models.BooleanField(default=False)
created_at=models.DateTimeField(auto_now_add=True)
created_by = models.ForeignKey(User, 
on_delete=models.CASCADE,related_name='createdUser',blank=True,null=True)
updated_at=models.DateTimeField(auto_now_add=True)
updated_by=models.ForeignKey(User, on_delete=models.CASCADE, 
related_name='UpdUser',blank=True,null=True)
#technology_master = models.ForeignKey(TechnologyMaster, 
on_delete=models.CASCADE, related_name='technologies', )

def __str__(self):
return str(self.name)


class TechnologyMaster(models.Model):
#projectmaster = models.ForeignKey(ProjectMaster,on_delete=models.CASCADE)
name=models.CharField(max_length=255,blank=True,null=True)
status = models.BooleanField(default=True)
is_deleted = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)
created_by = models.ForeignKey(User, on_delete=models.CASCADE,blank=True, 
null=True,related_name='created_by')
updated_at = models.DateTimeField(auto_now_add=True)
updated_by = models.ForeignKey(User, on_delete=models.CASCADE,blank=True, 
null=True,related_name='updated_by')
def __str__(self):
return str(self.id)+'-'+ self.name


Here one functionality is one project has multiple technologies so i have made 
one mapping table below


class ProjectTechnologyMapping(models.Model):
project_master = models.ForeignKey(ProjectMaster, on_delete=models.CASCADE, 
related_name='projects')
technology_master = models.ForeignKey(TechnologyMaster, 
on_delete=models.CASCADE, related_name='technologies')
status = models.BooleanField(default=True)
is_deleted = models.BooleanField(default=False)
created_at = models.DateTimeField(auto_now_add=True)
created_by = models.ForeignKey(User, 
on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_created_user')
updated_at = models.DateTimeField(auto_now_add=True)
updated_by = models.ForeignKey(User, 
on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_updated_user')
def __str__(self):
return str(self.id)


So, my question is how add and update using django createview,updateview 
(generic view) using templates.

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/174fa440-4241-423f-b5b7-a90bb726e82d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: API project example

2018-11-17 Thread Rupam Hazra
HI,
Just follow the django REST API.

Thanks,
Rupam Hazra



On Sun, Nov 18, 2018 at 5:23 AM Arturo Fernandez  wrote:

> Hi guys, I'm developing an idea, but the funny things is that I'm learning
> Django at the same time. Do you guys know of any SIMPLE project that
> requests data from an api and displays it on the font end (html)?
>
> I'm working with themoviedb using https://github.com/celiao/tmdbsimple. I
> got the shell as the example there but how do I do it on the html so it can
> be displayed?
>
> If you know of any project please let me know so I can learn by seeing it.
>
> Many thanks
>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6b544943-ab9f-41da-b9ad-045a4b9615cd%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/6b544943-ab9f-41da-b9ad-045a4b9615cd%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD%3Dyk7yHy7DiDHnwjBcAgEHDdrDOJ0bH%3D3NtjKmzFAE6aSCaxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Add Extra functionality when login as super user login

2018-09-14 Thread Rupam Hazra
Hi,

I want to add extra validation on superuser login.Actually i want to modify 
the login process due to security prospect.

Step-1 : give username and password form and send a mail with otp
Step-2 : after that a form will open and put that otp to verify then it's 
going to dashboard page.

So, Please help me to do this.


-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/26ea4c67-1e60-4262-959e-652073c28276%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

2018-09-02 Thread Rupam Hazra
hi

I wan to install this pip install mysqlclient==1.3.12 and geting errors


On Sunday, 2 September 2018 20:44:18 UTC+5:30, Gagan Kalia wrote:
>
> What Python distribution are you using on windows? What command are you 
> using when you see this error?
>
> On 02-Sep-2018 6:46 PM, "Rupam Hazra" > 
> wrote:
>
> Hi,
>
> I am stuck with this issue when i am installing mysqlclient this issue 
>
>  * C:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c 
> /nologo /Ox*
> * /W3 /GL /DNDEBUG /MD -Dversion_info=(1,3,1,'final',1) 
> -D__version__=1.3.1 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\*
> *include" -IC:\Python37\include -IC:\Python37\include "-IC:\Program Files 
> (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MS*
> *VC\14.15.26726\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual 
> Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include*
> *" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" 
> "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.171*
> *34.0\shared" "-IC:\Program Files (x86)\Windows 
> Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows 
> Kits\10\include*
> *\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows 
> Kits\10\include\10.0.17134.0\cppwinrt" /Tc_mysql.c /Fobuild\temp.win-amd64*
> *-3.7\Release\_mysql.obj /Zl*
> *_mysql.c*
> *_mysql.c(40): fatal error C1083: Cannot open include file: 
> 'my_config.h': No such file or directory*
> *error: command 'C:\\Program Files (x86)\\Microsoft Visual 
> Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86*
> *\\x64\\cl.exe' failed with exit status 2*
>
> *Please help me out.*
>
>
> On Monday, 9 July 2018 14:40:57 UTC+5:30, Kasper Laudrup wrote:
>>
>> Hi Rupam, 
>>
>> On 07/09/2018 09:50 AM, Rupam Hazra wrote: 
>> > C:\\Program Files (x86)\\Microsoft Visual 
>> > 
>> Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe'
>>  
>>
>> > failed with exit status 2. 
>> > 
>> > Please i need help. 
>> > 
>>
>> Which error message did the compiler (cl.exe) give you? 
>>
>> Kind regards, 
>>
>> Kasper Laudrup 
>>
> -- 
> 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...@googlegroups.com .
> To post to this group, send email to django...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/d28a7be4-5f32-4821-b983-8c12eb18cdbc%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/d28a7be4-5f32-4821-b983-8c12eb18cdbc%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2ab70ce7-af33-4d03-8225-9960e09a2237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

2018-09-02 Thread Rupam Hazra
Hi,

I am stuck with this issue when i am installing mysqlclient this issue 

 * C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\bin\HostX86\x64\cl.exe /c 
/nologo /Ox*
* /W3 /GL /DNDEBUG /MD -Dversion_info=(1,3,1,'final',1) -D__version__=1.3.1 
"-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\*
*include" -IC:\Python37\include -IC:\Python37\include "-IC:\Program Files 
(x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MS*
*VC\14.15.26726\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual 
Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include*
*" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17134.0\ucrt" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.171*
*34.0\shared" "-IC:\Program Files (x86)\Windows 
Kits\10\include\10.0.17134.0\um" "-IC:\Program Files (x86)\Windows 
Kits\10\include*
*\10.0.17134.0\winrt" "-IC:\Program Files (x86)\Windows 
Kits\10\include\10.0.17134.0\cppwinrt" /Tc_mysql.c /Fobuild\temp.win-amd64*
*-3.7\Release\_mysql.obj /Zl*
*_mysql.c*
*_mysql.c(40): fatal error C1083: Cannot open include file: 
'my_config.h': No such file or directory*
*error: command 'C:\\Program Files (x86)\\Microsoft Visual 
Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\bin\\HostX86*
*\\x64\\cl.exe' failed with exit status 2*

*Please help me out.*


On Monday, 9 July 2018 14:40:57 UTC+5:30, Kasper Laudrup wrote:
>
> Hi Rupam, 
>
> On 07/09/2018 09:50 AM, Rupam Hazra wrote: 
> > C:\\Program Files (x86)\\Microsoft Visual 
> > 
> Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe'
>  
>
> > failed with exit status 2. 
> > 
> > Please i need help. 
> > 
>
> Which error message did the compiler (cl.exe) give you? 
>
> Kind regards, 
>
> Kasper Laudrup 
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d28a7be4-5f32-4821-b983-8c12eb18cdbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to make https work in django REST framework on runserver port

2018-08-29 Thread Rupam Hazra
@jason,

I want to do on production but how .
could you elaborate me because i am new in python

On Wednesday, 29 August 2018 17:09:34 UTC+5:30, Jason wrote:
>
> for local development, why do you need https?  for staging and production, 
> you should be using apache with mod_wsgi or nginx with uwsgi/gunicorn
>
> On Wednesday, August 29, 2018 at 7:16:15 AM UTC-4, Rupam Hazra wrote:
>>
>>
>> Hi, i am working django rest service using runserver on different port on 
>> http but i want to use the https service.
>>
>> Please 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9dc24703-b360-4fc0-9ba3-8b05d32253d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to make https work in django REST framework on runserver port

2018-08-29 Thread Rupam Hazra

Hi, i am working django rest service using runserver on different port on 
http but i want to use the https service.

Please 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cf1178a2-009b-4095-8420-da4e92e6fac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error: C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2

2018-07-09 Thread Rupam Hazra
C:\\Program Files (x86)\\Microsoft Visual 
Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x86\\cl.exe'
 
failed with exit status 2.

Please i need 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9fa61ce9-b876-4bf0-9f59-0a24ec100be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


this error occurs Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools whenever some package install..Please

2018-07-09 Thread Rupam Hazra
this error occurs Microsoft Visual C++ 14.0 is required. Get it with 
"Microsoft Visual C++ Build Tools": 
http://landinghub.visualstudio.com/visual-cpp-build-tools whenever some 
package install..Please tell me the solutinons

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2bcf8d92-ac8f-4055-a875-25f92b4dd010%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.