"Beginning Geo Django: Rich Gis Web Applications With Python" Where can I get the book?

2014-02-21 Thread Ram Shrestha
Dear All, I am want to learn GeoDjango in real world application. I believe this book "Beginning Geo Django: Rich Gis Web Applications With Python" is the best book for me. But I could not download download it. If anyone have this book Please share the book with me. Where can I get it for free

Re: "Beginning Geo Django: Rich Gis Web Applications With Python" Where can I get the book?

2014-02-21 Thread Tom Evans
On Fri, Feb 21, 2014 at 10:15 AM, Ram Shrestha wrote: > Dear All, > I am want to learn GeoDjango in real world application. I believe this book > "Beginning Geo Django: Rich Gis Web Applications With Python" is the best > book for me. But I could not download download it. > > If anyone have this b

Re: "Beginning Geo Django: Rich Gis Web Applications With Python" Where can I get the book?

2014-02-21 Thread Sandro Dutra
Buy the book and don't be fool! 2014-02-21 10:02 GMT-03:00 Tom Evans : > On Fri, Feb 21, 2014 at 10:15 AM, Ram Shrestha > wrote: > > Dear All, > > I am want to learn GeoDjango in real world application. I believe this > book > > "Beginning Geo Django: Rich Gis Web Applications With Python" is t

Printing things to the server console in Django?

2014-02-21 Thread wasingej
Hi guys. I'm pretty new to Django and I'm trying to figure out how I can print out information to my console that I started my web application on using "python manage.py runserver". Thanks, Jared -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Django Admin - search_fields + related fields

2014-02-21 Thread Camilo Torres
On Thursday, February 20, 2014 4:58:59 PM UTC-4:30, Ivan Goncalves wrote: > > I have these two models below: > > class business(models.Model): > name=models.CharField(max_length=40, blank=True, null=True) > > class phone(models.Model): > business=models.ForeignKey(business, > verbose

Re: Printing things to the server console in Django?

2014-02-21 Thread Brad Pitcher
print("information") - Brad Pitcher On Fri, Feb 21, 2014 at 1:00 PM, wasingej wrote: > Hi guys. I'm pretty new to Django and I'm trying to figure out how I can > print out information to my console that I started my web application on > using "python manage.py runserver". > > Thanks, >

Re: API rest for https://docs.djangoproject.com/en/dev/intro/tutorial01/ help

2014-02-21 Thread Camilo Torres
On Thursday, February 20, 2014 6:23:27 PM UTC-4:30, Antonio Villavicencio wrote: > > I am trying just to do an API REST with the project of: > https://docs.djangoproject.com/en/dev/intro/tutorial01/ > > specifically with the model of Question > > class Question(models.Model): > question_text =

Re: Printing things to the server console in Django?

2014-02-21 Thread Camilo Torres
On Friday, February 21, 2014 4:30:11 PM UTC-4:30, wasingej wrote: > > how I can print out information to my console that I started my web > application on using "python manage.py runserver". > Hello With runserver you can use print() function calls, like: print("Some output") Regard -- You

Django test client encoding of JSON Booleans

2014-02-21 Thread Daniel Smith
I'm using Django version 1.5.5. Here is a short snippet of the test I'm writing: from django.test import TestCase class MyTest(TestCase): def my_test(self): url = ... location of my view ... self.client.post(url, data={'active': False}, format='json') The problem I'm running into is

Apache with mod_wsgi not serving static files

2014-02-21 Thread Bryan P
Hello all, My Django application is not serving my static files (CSS, JS) and keeps returning a 404 error. I have set the STATIC_ROOT to the location where I collected all my static files with manage.py and set an alias in my VirtualHost. Here is my Settings.py Here

Can't figure out how to attach file to email using EmailMessage

2014-02-21 Thread Patrick Beeson
Good morning y'all! I'm having a heck of a time figuring out what I'm doing wrong in attaching a file uploaded via a ModelForm to an email that's sent if the form is valid. Here's a link to my code on Stackoverflow: http://stackoverflow.com/questions/21938849/inmemoryuploadedfile-object-has-no-

Re: Can't figure out how to attach file to email using EmailMessage

2014-02-21 Thread Tom Evans
On Fri, Feb 21, 2014 at 4:28 PM, Patrick Beeson wrote: > Good morning y'all! > > I'm having a heck of a time figuring out what I'm doing wrong in attaching a > file uploaded via a ModelForm to an email that's sent if the form is valid. > Here's a link to my code on Stackoverflow: > http://stackove

Re: Apache with mod_wsgi not serving static files

2014-02-21 Thread Alex Mandel
On 02/21/2014 04:00 PM, Bryan P wrote: > Hello all, > > My Django application is not serving my static files (CSS, JS) and keeps > returning a 404 error. I have set the STATIC_ROOT to the location where I > collected all my static files with manage.py and set an alias in my > VirtualHost. > >