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
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
>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
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
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
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
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,
>
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:
>
>
>
>
>
>
>
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
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.
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
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
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
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.
>
> >
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
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'
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
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/
> > _
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
19 matches
Mail list logo