Malcolm Tredinnick <[EMAIL PROTECTED]> writes:
> next day or two in order to make this (and a couple of other
> login-related URLs) directly configurable via settings.py.
What I need is several different login pages at one site. So the
parameter (or the workaround with user_passes_test) is what
On 2/20/07, Matt H <[EMAIL PROTECTED]> wrote:
> When using newforms.form_for_instance() with a model that has a
> PhoneNumberField, I get get an IntegerField in the resulting form which
> doesn't validate properly. I have been using a custom form with my own
> PhoneNumberField widget, however, I'd
On Tue, 2007-02-20 at 10:09 -0800, ScottB wrote:
> Hi Frank.
>
> > is there any reason that the login_required decorator doesn't have the
> > login_url parameter?
>
> If you want to set the login url to something other than the default /
> accounts/login/ you add this to your settings.py:
>
> f
Though some of you might be interested in this, I thought it was
pretty cool...
NowLive.com is a live mobile community. DJs on the shows get to
interact with people doing interviews, sending in live videos and
photos. The best part of NowLive is that YOU can become a DJ or a
field reporter and get
I have a model:
class Employee(models.Model):
name = models.CharField(maxlength = 100)
reportsTo = models.ForeignKey('self', null=True,
related_name='dependent_element')
subordinates = models.ManyToManyField('self')
I want to add the employee as a subordinate when the manager is
defi
I did it, but not using the syndication. I just use a generic list
view and point to a template to build the xml. Not hard at all. Here's
my template:
http://www.itunes.com/dtds/podcast-1.0.dtd";
version="2.0">
Gretsch Pages Radio
http://gretschpages.com/radio/
M
Sorry, catching up on older messages...
I favor disclosure and transparency. I didn't even know there was a
django-announce. It's not listed on the web site with the other
mailing lists.
--
Dave Hull, CISSP
--~--~-~--~~~---~--~~
You received this message because
I used a very slight variation off that same code base - so let me take a
stab at explaining what the general idea is behind how captcha was
implemented -
In the view where you're going to display a captcha, generate first a
"captcha" that just goes into the database - a combination of a UUID, the
Not sure whats going on.
When using newforms.form_for_instance() with a model that has a
PhoneNumberField, I get get an IntegerField in the resulting form which
doesn't validate properly. I have been using a custom form with my own
PhoneNumberField widget, however, I'd like to be able to use
form_
Hi,
This is actually a simplified model of a more complex database. It seems
simple, but I am not able to get the ruight solution.
I have two tables, one a foreignkey of the other. The first table is a bill
and other one is a table where I can add items to be billed and their price.
I have a fi
Hi Frank.
> is there any reason that the login_required decorator doesn't have the
> login_url parameter?
If you want to set the login url to something other than the default /
accounts/login/ you add this to your settings.py:
from django.contrib.auth import LOGIN_URL
LOGIN_URL = '/accounts/sig
Looking for a really competent Django person to work on an Existing
Client Database package.
The System:
cPanel Build 10.8.2-RELEASE 119
Operating system FreeBSD 5.4-RELEASE
Machine Typei386
Apache version 1.3.37
PERL version5.8.8
PHP version 4.3.11
MySQL version 4.0.27
The Pac
I got the following problem:
On my developing server everything is fine.
On my deployment server (apache) I have the problem
The problem: Hotel dissapears in the admin when I import the
country.models
I tryied about everthing with many apache restarts and many changes..
If I simple add the clas
Hi,
I have this:
class SomeModel(models.Model):
some_choice = models.CharField(maxlength=255, choices=CHOICES_DICT)
And I'm generating a form for HTML display using this:
SomeForm = newforms.models.form_for_model(SomeModel)
form = SomeForm()
But my some_choices field just shows up a
Hello,
Can anyone puke up a simple example of using captcha with Django
forms? [I've already RTFM&N.]
I installed the app code from http://code.google.com/p/django-captcha/
and noticed the test but don't see how it works with templates and
extraspecially newforms (needs to be a tag library?).
I
has anyone done a podcast-feed (iTunes) using django syndication?
I know that it´s possible by changing feedgenerator.py.
if somebody has already done it, it´d be great to share the code and/
or give some advice.
thanks,
patrick
--~--~-~--~~~---~--~~
You receiv
On 2/20/07, Mike H <[EMAIL PROTECTED]> wrote:
>
>
> For me, if there was a way to simply add missing columns that would be
> enough. Any data manipulation should be done by a patch runner that can
> be tested and automated, but simply adding missing columns to a table I
> think should be done by sy
For me, if there was a way to simply add missing columns that would be
enough. Any data manipulation should be done by a patch runner that can
be tested and automated, but simply adding missing columns to a table I
think should be done by syncdb.
The way I have approached this when producing ORM
Thanks so much for this. That clears up a LOT.
Michael
On Feb 19, 4:38 pm, "Waylan Limberg" <[EMAIL PROTECTED]> wrote:
> On Mon, 19 Feb 2007 15:58:37 -0500, Veloz <[EMAIL PROTECTED]> wrote:
>
> > Hi there
>
> > A couple weeks back I evaluated Django under Python 2.4. I followed
> > the installat
Russell Keith-Magee schreef:
Thanks for the answers (super quick !) Russell en Honza.
I'll try it out at once,
Thanks,
Benedict
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
On 2/20/07, Honza Kr�l <[EMAIL PROTECTED]> wrote:
> On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > i have some tables that i want to link with an authorized user.
> > Right now i use the login mechanism of django.
> >
> > 1. Is it possible to specify a foreign_key to t
On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i have some tables that i want to link with an authorized user.
> Right now i use the login mechanism of django.
>
> 1. Is it possible to specify a foreign_key to the auth_user database?
Yes.
from django.db import models
from d
On 2/20/07, Benedict Verheyen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> i have some tables that i want to link with an authorized user.
> Right now i use the login mechanism of django.
>
> 1. Is it possible to specify a foreign_key to the auth_user database?
> If not, what is the best way to have a "u
On 2/20/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 5:27 pm, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote:
> > > All I can think of is to create a new model, say Poll1, with the
> > > correct fields, do a syncdb, write and execute a python function to
> > > transfer the data from Po
Hi,
i have some tables that i want to link with an authorized user.
Right now i use the login mechanism of django.
1. Is it possible to specify a foreign_key to the auth_user database?
If not, what is the best way to have a "user" field in a table
that refers to a logged in user?
2. How can i g
25 matches
Mail list logo