Re: html in django password_reset_email.html

2012-11-21 Thread larry.mart...@gmail.com
On Tuesday, November 2, 2010 5:50:49 AM UTC-4, Tom Evans wrote: > > On Tue, Nov 2, 2010 at 9:07 AM, andy > > wrote: > > I recently tried to send the following in a test password email from a > > site I am creating: > > > > This is a test reset password email. > > > > However when I received the em

Re: Adding link to admin page

2012-03-26 Thread larry.mart...@gmail.com
On Mar 25, 3:29 pm, Larry Martell wrote: > I have a client that has an app built with django. On every page of > their app is a link to their admin site. They tell me the admin site > is generated entirely by django, and they've never customized it > before. On the very first line of the admin pag

Getting URL from within a template

2012-03-13 Thread larry.mart...@gmail.com
>From within a template can I find out the URL that caused the template to be invoked? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email

Getting a text field value to persist

2012-03-09 Thread larry.mart...@gmail.com
I have a table that is created in a view like this (only the pertinent parts are shown): {% for row in page.object_list %} {% if forloop.first %} {% for value in row %} {% if forloop.first %} {{ value }} {% e

Live search

2012-03-05 Thread larry.mart...@gmail.com
I'm fairly new to django, still working on my first project. I have a page with some selection fields and a button. The user clicks the button, I run a query, and display the result set on the page. Works fine. Now I was to add a live search field to allow the user to further winnow down the resu

Re: viewing generated SQL without running the query

2012-02-23 Thread larry.mart...@gmail.com
On Feb 21, 7:32 pm, diafygi wrote: > There's a previous thread about this[1], but it was closed back in > 2006 without resolution. So I'd like to check back in and see if there > is a way to get a complete query string without executing the query. > > At first, I thought I could just use the Query

Re: dropdown select box in django

2012-02-21 Thread larry.mart...@gmail.com
reign key references. In my case the choices will be hard coded, as shown in my example code in my original post. > > On 21 February 2012 23:36, larry.mart...@gmail.com > wrote: > > > > > > > > > On Feb 20, 9:52 pm, Mario Gudelj wrote: > > > Hey there, >

Re: dropdown select box in django

2012-02-21 Thread larry.mart...@gmail.com
that did not have any effect. > > Cheers, > > -m > >  message = models.CharField("Event Type", max_length=12, > > > > choices=EVENT_TYPE_CHOICES) > > On 21 February 2012 12:28, larry.mart...@gmail.com > wrote: > > > > > > >

Re: dropdown select box in django

2012-02-20 Thread larry.mart...@gmail.com
Event Created', 'EventCreated'), ('Event Changed', 'EventChanged')) > > Regards, > Anurag > > On Mon, Feb 20, 2012 at 9:32 PM, larry.mart...@gmail.com < > > > > > > > > larry.mart...@gmail.com> wrote: > > I'm fai

Re: dropdown select box in django

2012-02-20 Thread larry.mart...@gmail.com
On Feb 20, 5:39 pm, Stanwin Siow wrote: > Try removing > > "Event Type", > > in the following > > message = models.CharField("Event Type", max_length=12, > choices=EVENT_TYPE_CHOICES) > > Best Regards, > > Stanwin Siow No difference.

dropdown select box in django

2012-02-20 Thread larry.mart...@gmail.com
I'm fairly new to django, still getting my feet wet. I want to have a dropdown menu (django seems to call this a select box). I read this: https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.Field.choices So I did this: class EventsTable(models.Model): EVENT_TYPE_CHOICE

Re: django.core.handlers.wsgi not found

2012-02-06 Thread larry.mart...@gmail.com
On Feb 5, 4:13 pm, "larry.mart...@gmail.com" wrote: > On Feb 5, 4:05 pm, Dennis Lee Bieber wrote: > > > > > > > > > On Sun, 5 Feb 2012 14:08:52 -0800 (PST), "larry.mart...@gmail.com" > > > wrote: > > > >It's exactly t

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
On Feb 5, 4:05 pm, Dennis Lee Bieber wrote: > On Sun, 5 Feb 2012 14:08:52 -0800 (PST), "larry.mart...@gmail.com" > > wrote: > > >It's exactly the same sys.path I get from command line python, where > >the import works. > >         NO IT ISN&#

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
the additional Directory directive, I get the same error. > > On Feb 5, 5:53 am, "larry.mart...@gmail.com" > wrote: > > > I am trying to deploy my django app on a newly setup CentOS box. I > > have successfully deployed it on ubuntu and on a Mac. > > >

Re: django.core.handlers.wsgi not found

2012-02-05 Thread larry.mart...@gmail.com
x27;/usr/lib/python2.6/site-packages/ setuptools-0.6c11-py2.6.egg-info', '/usr/lib/python2.6/site-packages/ webkit-1.0'] > How was Django installed originally? django was install from svn like this: #svn co http://code.djangoproject.com/svn/django/trunk/django /usrl/ lib/python2

django.core.handlers.wsgi not found

2012-02-04 Thread larry.mart...@gmail.com
I am trying to deploy my django app on a newly setup CentOS box. I have successfully deployed it on ubuntu and on a Mac. I get these errors in the apache error log: [Sat Feb 04 17:43:28 2012] [error] [client 127.0.0.1] mod_wsgi (pid=13616): Target WSGI script '/usr/local/myapp/scripts/myapp.wsgi'

Re: Problem getting django on mac (10.5/Leopard) working

2012-01-08 Thread larry.mart...@gmail.com
On Jan 7, 7:13 pm, "larry.mart...@gmail.com" wrote: > On Jan 7, 7:03 pm, David Markey wrote: > > > Is there a reason you didnt do easy_install django? > > Cause I didn't know about it. I just followed the directions I found > at: > > https://docs.djang

Re: Problem getting django on mac (10.5/Leopard) working

2012-01-07 Thread larry.mart...@gmail.com
January 2012 01:50, larry.mart...@gmail.com > wrote: > > > > > > > > > I am trying to get django working on my mac. I downloaded it from SVN > > to /usr/local/django-trunk and it's there: > > > $ ls /usr/local/django-trunk/ > > _

Problem getting django on mac (10.5/Leopard) working

2012-01-07 Thread larry.mart...@gmail.com
I am trying to get django working on my mac. I downloaded it from SVN to /usr/local/django-trunk and it's there: $ ls /usr/local/django-trunk/ __init__.py corehttptemplatetags bin db middleware test confdispatch