Debugging Django using Pycharm

2015-09-15 Thread Prabhu
Hi Team, This is Prabhu just started using Django. I would like to know how to debug the code by attaching django application which is running on server. Please share the Pycharm Setting and Steps to be followed. If you are recommend any other debug tool that too ok for me. Thanks and Regard

Re: Debugging Django using Pycharm

2015-09-15 Thread Nick Sarbicki
> > Hi Team, > > This is Prabhu just started using Django. > > I would like to know how to debug the code by attaching django application > which is running on server. > > Please share the Pycharm Setting and Steps to be followed. > > If you are recommend any other debug tool that too ok for me. >

Re: how to create a project in django in windows 7

2015-09-15 Thread Nick Sarbicki
> > I am a fresher to django... can any one explain me how to install django. > and what all are the requirement needed. I tried by searching google still > am not able to do it. So any one please help me. > Tank you. Hi Santhosh, Have you installed Python? (2.7 or 3.4 is best right now - 3.5 ha

Re: customize app ordering in django admin

2015-09-15 Thread Pawanesh Gautam
Got solution : https://djangosnippets.org/snippets/2613/ just add 1.> " register = template.Library() " in /templatetags/custom_tags.py 2.> templatetags folder must have __init.py__ file On Thursday, September 10, 2015 at 4:20:43 PM UTC+5:30, Pawanesh Gautam wrote: > > hi > > i have list of

Re: how to create a project in django in windows 7

2015-09-15 Thread Jani Tiainen
Hi, I wrote a long time ago my setup I used when working in Windows. Since that I moved on to *nix since everything was just easier to get by. Here's the link: https://djangonautlostinspace.wordpress.com/2012/04/16/django-and-windows/ On 15.09.2015 10:34, Nick Sarbicki wrote: I am a f

Re: migration error "geo_db_type" when using postgres as second database for geodjango

2015-09-15 Thread Tim Graham
The backport isn't trivial because of this removal that happened on 1.9 which would need to be accounted for on 1.8: https://github.com/django/django/commit/3b570dbcdb605cc6ee7e8796e1533fdd40c92362 If someone wants to do that work, we could probably accept a patch for 1.8. On Monday, September

Re: Oracle XMLType and AES_Encrypt() field

2015-09-15 Thread Dan Davis
On Saturday, September 12, 2015 at 2:23:15 PM UTC-4, Carl Meyer wrote: > > Hi Dan, > > ... ... Yes, this is possible, and not even that hard (at least in Django 1.8, > where Field classes gained more control over SQL generation; I suspect > it would be quite a bit more difficult if you need t

Re: Oracle XMLType and AES_Encrypt() field

2015-09-15 Thread Carl Meyer
On 09/15/2015 12:44 PM, Dan Davis wrote: > I'm wondering how I would get python to run an interactive shell similar > to what I'd get from running ./manage.py shell. Why not just run `./manage.py shell`? In general, `DJANGO_SETTINGS_MODULE=myproject.settings python` is effectively equivalent to `

Help

2015-09-15 Thread Cassanova Rumor
-- 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. Vis

Re: Help

2015-09-15 Thread Charly Román
NO Charly Román Software Developer http://croman.mx 2015-09-15 12:46 GMT-05:00 Cassanova Rumor : > -- > 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-

Django deployment

2015-09-15 Thread Hugo Kitano
Hi, I'm a Django newbie, and I'm trying to decide how to deploy my small Django project. I've read into a few options, but I keep hearing that Django deployment is unnecessarily difficult. For a website with very little traffic, and for somebody who's new to it all, what is the best way to dep

Re: Django deployment

2015-09-15 Thread Shawn Milochik
It's very simple. Just follow these instructions: http://milocast.com/flasknginx.html Instead of the final line (gunicorn filename:appname -b 127.0.0.1:), use this: ./manage.py run_gunicorn -b 127.0.0.1: -- You received this message because you are subscribed to the Google Groups "Dj

Re: Django deployment

2015-09-15 Thread Michiel Overtoom
Hi Hugo, > I keep hearing that Django deployment is unnecessarily difficult. Who says this? And what are the reasons they give for it? > For a website with very little traffic, and for somebody who's new to it all, > what is the best way to deploy? And how should I go about deploying! I can t

Re: Django deployment

2015-09-15 Thread Nikolas Stevenson-Molnar
I second the nginx/gunicorn/django/supervisor stack. I've used it many times; it's relatively easy to get everything installed and set up, and all the involved components are ready for prime time. I think the "difficult to set up" sentiment is probably in comparison to something like PHP. So ma

Re: Django deployment

2015-09-15 Thread Tim Chase
On 2015-09-15 22:02, Michiel Overtoom wrote: > > I keep hearing that Django deployment is unnecessarily > > difficult. > > Who says this? And what are the reasons they give for it? I wouldn't say it's *unnecessarily* difficult, but compared to "dump a pile of PHP files on your FTP site", it's c

Re: Oracle XMLType and AES_Encrypt() field

2015-09-15 Thread Dan Davis
Indeed. That works. On Tuesday, September 15, 2015 at 2:49:06 PM UTC-4, Carl Meyer wrote: > > On 09/15/2015 12:44 PM, Dan Davis wrote: > > I'm wondering how I would get python to run an interactive shell similar > > to what I'd get from running ./manage.py shell. > > Why not just run `./manag