Update the django project from local to production

2018-08-25 Thread Kamal Sharma
Hey, How i have deployed my django project to my VPS and now i have done some change in my local django project and want to update on production server. How can i do that.? please help me Thanks Kamal Sharma -- You received this message because you are subscribed to the Google Groups "D

changes in django appilcation

2018-08-16 Thread Kamal Sharma
environment so how can i change update it on my production server. Please Help me Thanks Kamal Sharma -- 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: changing the django production from 80 to another

2018-08-16 Thread Kamal Sharma
Hey Thanks for this solution it worked for me. Thank you Kamal Sharma On Wed, Aug 15, 2018 at 10:24 PM, Kasper Laudrup wrote: > Hi Kamal, > > On 15/08/2018 16.32, Kamal Sharma wrote: > >> I am facing a problem that at 80 port my tomcat is running and i just want >

changing the django production from 80 to another

2018-08-15 Thread Kamal Sharma
Hey Django, I am facing a problem that at 80 port my tomcat is running and i just want to deploy my django application on the same server so how can i change the port number please help me. Thanks Kamal Sharma -- You received this message because you are subscribed to the Google Groups "D

Re: How start django server automatically using pytest-django

2018-07-07 Thread Kamal Sharma
do you want to test on development server?? On Sat, Jul 7, 2018 at 1:17 PM, prakash sharma wrote: > Hi there, > I am facing issue that my django server is not started . > I want to run the pytest-django for test cases without manual runserver. > > Here is my test file: > > import requests

Django object to json

2018-07-07 Thread Kamal Sharma
hi, I am facing a problem to get data from database in form of JSON. data = model.objects.all() now i have a big list in data and want to convert it into JSON. how can i do it. Thanks Kamal Sharma -- You received this message because you are subscribed to the Google Groups "Django

Re: django send_mail on production (gmail)

2018-07-04 Thread Kamal Sharma
Hey Jason, Thanks for suggestion i am i would like to try maiichimp because it is new for me Thank you On Wed, Jul 4, 2018 at 7:28 PM Jason wrote: > If you're hitting that limit, then you should either use your own mail > server or use mailchimp/some other service. There's nothing stopping

Re: django send_mail on production (gmail)

2018-07-04 Thread Kamal Sharma
only 99 mails per day. So i changed the mail credentials and resolve the problem. Thanks. Kamal Sharma On Tue, Jul 3, 2018 at 7:40 PM Mikhailo Keda wrote: > More details is needed? Do you have any error? What hosting are you using? > What port are you using, is it open? > > -- &g

django send_mail on production (gmail)

2018-07-03 Thread Kamal Sharma
Dear django community, I'm working on mail with django but it is working fine in my dev server (local) but on production it is not working. Can you help me please? Thanks Kamal Sharma -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django production deployment on my VPS

2018-07-03 Thread Kamal Sharma
to production by winSCP and then i run??? Please help me Thanks Kamal Sharma On Sun, Jul 1, 2018 at 9:45 AM Gerardo Palazuelos Guerrero < gerardo.palazue...@gmail.com> wrote: > hi Kamal, > I found this link as part of a django training I did in a udemy course ( > https://www.udemy.c

django production

2018-07-03 Thread Kamal Sharma
Dear Django community, i have deployed my django project at production server with gunicorn and nginx and it is working good. My question is can i deploy more then one django project on production server(ubuntu 16.04) for running two websites? Thank you Kamal Sharma -- You received

Re: Django production deployment on my VPS

2018-07-03 Thread Kamal Sharma
helps you. > Gerardo. > > > > El 30/06/2018, a la(s) 21:22, Kamal Sharma > escribió: > > Dear Django community, > > I have developed my django application but i am facing problem to deploy > it on my "virtual private server". And tutorial of production depl

Django production deployment on my VPS

2018-06-30 Thread Kamal Sharma
go project on production with VPS. Your immediate action will be highly appreciated. Thanks Kamal Sharma -- 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 d

Re: cx_Oracle error: ImproperlyConfigured

2011-04-28 Thread kamal sharma
e same error you were getting before. Are you > sure that you have ORACLE_HOME properly set on your new client and in > the right environment? > > Cheers > > Jirka > > On 28/04/2011, kamal sharma <kamalp.sha...@gmail.com> wrote: > > Hi Again, > >

Re: cx_Oracle error: ImproperlyConfigured

2011-04-28 Thread kamal sharma
use the below logic.How we can solve this problem? # Add ORACLE_HOME for 10g Oracle client. BEGIN { $ENV{ORACLE_HOME} = '/opt/app/oracle/products/10.2.0' } Any help will be highly appreciated. Thanks, Kamal On Tue, Apr 26, 2011 at 10:22 PM, kamal sharma <kamalp.sha...@gmail.com>wr

Re: cx_Oracle error: ImproperlyConfigured

2011-04-26 Thread kamal sharma
; Thanks again for helping to fix this issue. Its really a superb forum to fix the issue so quickly. :-) Regards, Kamal On Sun, Apr 24, 2011 at 7:58 PM, Ian <ian.g.ke...@gmail.com> wrote: > On Apr 23, 12:29 pm, kamal sharma <kamalp.sha...@gmail.com> wrote: > > No it

Re: cx_Oracle error: ImproperlyConfigured

2011-04-23 Thread kamal sharma
those to a file at the > beginning of your views.py)? > > Cheers > >Jirka > > On 22/04/2011, kamal sharma <kamalp.sha...@gmail.com> wrote: > > Yes, i am getting this error when i used from the web application. Also > all > > the > > user have the permiss

Re: cx_Oracle error: ImproperlyConfigured

2011-04-22 Thread kamal sharma
Yes, i am getting this error when i used from the web application. Also all the user have the permission to webserver to read all Oracle client files. Not sure how it got set to LD_LIBRARY_PATH /opt/apache-2.2.16/lib:/usr/local/lib: I have defined the LD_LIBRARY_PATH and ORACLE_HOME as follows

Re: cx_Oracle error: ImproperlyConfigured

2011-04-22 Thread kamal sharma
racle.egg-info': Permission denied How to resolve this? Thanks, Kamal On Fri, Apr 22, 2011 at 7:53 PM, Ian <ian.g.ke...@gmail.com> wrote: > On Apr 21, 11:40 pm, kamal sharma <kamalp.sha...@gmail.com> wrote: > > When i try the same code from python Shell then it is working fi

Re: cx_Oracle error: ImproperlyConfigured

2011-04-22 Thread kamal sharma
Hi Jirka, Thanks for the response. I have installed cx_Oracle in Solaris again and followed this steps but still the error is same: Exception Type:DatabaseErrorException Value: Error while trying to retrieve text for error ORA-01804 Download cx_oracle module:

Re: cx_Oracle error: ImproperlyConfigured

2011-04-21 Thread kamal sharma
) cursor.close() connection.close() return render_to_response('web/cases.html', {}, RequestContext(request, { 'first': 'test1', 'last': 'test2', })) Thanks, On Fri, Apr 22, 2011 at 1:01 AM, Ian <ian.g.ke...@gmail.com> wrote: > On Apr 21, 11:03 am, kamal sharma <kamalp.s

Re: cx_Oracle error: ImproperlyConfigured

2011-04-21 Thread kamal sharma
sql) names = [row[0] for row in cursor.fetchall()] cursor.close() connection.close() Thanks, Kamal On Thu, Apr 21, 2011 at 9:31 PM, kamal sharma <kamalp.sha...@gmail.com>wrote: > After creating soft link, still it is giving the same error. Do i need to > create soft li

Re: cx_Oracle error: ImproperlyConfigured

2011-04-21 Thread kamal sharma
After creating soft link, still it is giving the same error. Do i need to create soft link for any other files? My response are inline with KS: On Thu, Apr 21, 2011 at 9:21 PM, Ian <ian.g.ke...@gmail.com> wrote: > On Apr 21, 9:39 am, kamal sharma <kamalp.sha...@gmail.com>

Re: cx_Oracle error: ImproperlyConfigured

2011-04-21 Thread kamal sharma
Here is the error I am getting now: cd /usr/local/lib /usr/local/lib> sudo ln /opt/app/oracle/products/11.2.0/lib/libclntsh.so.10.1 ln: ./libclntsh.so.10.1 is on a different file system /usr/local/lib> cd /usr/lib/ /usr/lib> sudo ln /opt/app/oracle/products/11.2.0/lib/libclntsh.so.10.1 ln:

Re: cx_Oracle error: ImproperlyConfigured

2011-04-21 Thread kamal sharma
Thanks David for quick response. I have already tried that option, but it does not work. Here is the diff which i have added. Index: app.wsgi === +os.environ["LD_LIBRARY_PATH"] = "/opt/app/oracle/products/11.2.0/lib" # figure out

Re: Admin page set up.

2009-07-02 Thread kamal sharma
the docs and a little bit of "try and error" you´ll be > there very soon. from remembering my first steps with django I´d say: > don´t become desperate, it´ll all be reasonable very soon. > > regards, > patrick > > > On 2 Jul., 17:40, kamal sharma <kamalp.sha...@gm

Re: Admin page set up.

2009-07-02 Thread kamal sharma
I´ve never seen port 1020 used for the dev-server, > but I´m not doing server-setups at all, so it might be very common. > > you could try a simple direct_to_template in order to check whether > (or not) apache is serving your site correctly. > > regards, > patrick > > &g

Re: Admin page set up.

2009-07-02 Thread kamal sharma
> > regards, > patrick > > > On 2 Jul., 15:13, kamal sharma <kamalp.sha...@gmail.com> wrote: > > Hi, > > > > I am trying to setup admin page. > > > > Django version: alpha version of 1.1 > > Python Version: Python 2.5.2 > > > > I

Admin page set up.

2009-07-02 Thread kamal sharma
Hi, I am trying to setup admin page. Django version: alpha version of 1.1 Python Version: Python 2.5.2 I have followed the following steps to set up admin page. http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ref-contrib-admin 1. settings.py: # Add 'django.contrib.admin' to