I'll leave those for the future.
So I'm currently successfully running Python 2.6.3, Django 1.1.1, and
PostgreSQL 8.3 on Windows 7.
On Oct 21, 12:03 pm, JimR wrote:
> Hello, All,
>
> I am trying to migrate my application from Python 2.5, Dango 1.0,
> PostgreSQL 8.4,Windo
Hello, All,
I am trying to migrate my application from Python 2.5, Dango 1.0,
PostgreSQL 8.4, Windows XP (32-bit) to Python 2.6, Django 1.1,
PostgreSQL 8.4, Windows 7 (64-bit). I have donwloaded and installed
the 64-bit version of Python 2.6.
I am having a problem with a particular model under
x27;ll fail. So add this method to
compensate."""
return 'OrderFormWizard'
On Sep 30, 8:04 am, JimR wrote:
> OK, so I've searched the group and the Internet looking for the answer
> to this questions, and the common answer seems to be "wrap theformwiz
OK, so I've searched the group and the Internet looking for the answer
to this questions, and the common answer seems to be "wrap the
formwizard in a view." But I don't see any examples of how to do
this. I currently have the formwizard embedded in the URLconf, and my
attempt at "wrapping the fo
'team__name','opponent',)
Everything now displays correctly. Reading the documentation on
list_display and Abstract classes, I assumed that I could reference
Team elements through the AbstractEvent model. Apparently, that is
not the case. The callable seems to have solved
Field(null=True, blank=True)
...
The AdminManager for the Game model is as follows:
class GameAdmin(admin.ModelAdmin):
list_display = ('team', 'opponent',)
search_fields = ('team', 'opponent',)
...
On Nov 19, 6:19 pm, &quo
We have defined the following models:
class AbstractEvent(models.Model):
team = models.ForeignKey(Team)
description = models.TextField(null=True, blank=True)
description_rendered = models.TextField(null=True, blank=True)
when = models.DateTimeField()
where
P\d+)/activitycreate/$',
'administration.views.activity_create'),
template:
{%for a in item.admin_roles.all %}
{{a}}
{% endfor %}
On Nov 24, 10:18 am, JimR <[EMAIL PROTECTED]> wrote:
> I've been struggling with the following for a couple of days, and
> would appreciate any help or sugges
I've been struggling with the following for a couple of days, and
would appreciate any help or suggestions. I'm still learning the
intricacies of both Django and Python, so please bear with me if this
is relatively obvious. Alternatively, if you could point me to some
examples of how to do this,
not work from within
user_login_validate, so I moved it back to the original view and it
worked. This Django stuff sure can be maddening at times!
On Oct 10, 10:16 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 10/10/07, JimR <[EMAIL PROTECTED]> wrote:
>
>
>
>
Any Suggestions?
Thanks,
Jim
--~--~-~--~~~---~--~~
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 to [E
I'm creating a new user/member and then want log that person in and
redirect them to their personalized page. I'm getting a " 'User'
object is unsubscriptable " error. All of the database records are
being created correctly, and I can go back to the site and manually
log the user in through my
I have a table that consists entirely of foreign keys. I'd like to
display the User Id (and possibly retrieve and display the person's
name from another table?) in the admin interface. The model is
below. When I include the 'def __str__(self)' it displays the user id
in the admin interface, but
First, thanks to all who have been helping me cut my teeth on Django/
Python.
I have been trying to get the above widget to display "nicely" in my
HTML. Here's what I have...
FORMS.PY
class RegistrationForm(forms.Form)
...
role = forms.ChoiceField(choices=[(c.id, c.description) for c in
RoleTyp
n a similar boat, and haven't
> been able to get it to work. My problem seems to be adding the 'id'
> to the clean_data and getting it to validate. Anything you've managed
> to figure out would be very helpful. At this point, I'm stuck.
>
> On Jan 24, 11:
Alright, I've been struggling with this for a while, so I hope someone
can help me. I'm not even sure if I can ask the question
intelligently enough for a reply. I'll paraphrase the problem using a
subset of my model. I'm familiar with DB programming but not good at
it right now!
I'm developin
Thanks SmileyChris and ashwoods for the guidance, it definitely
helped...I'm making progress. Once I've gotten to a point where I've
got the form working and validating, I'll post it for comment.
--~--~-~--~~~---~--~~
You received this message because you are sub
Hello, all. I'm new to Django and Python, and kind of rusty with my
development skills, so please forgive me as I struggle through it all!
I am developing a web site that will eventually have a pretty
significant library of forms in addition to regularly updated content
and other information.
I
18 matches
Mail list logo