What you can do is copy the project files over to your local computer,
install a copy of Django 0.97 on it and run it off there.
If it works, then you can be sure that it's the Django install in your
environment that has problems. Else, it's your project files that is
causing problems.
From
On Sat, Oct 11, 2008 at 8:05 PM, d. <[EMAIL PROTECTED]> wrote:
>
> Probably a simple, stupid error I'm making:
>
> I try to display a form in a template using:
>
>
> {{ rForm.as_table }}
>
>
>
>
> The browser displays pure html of the form content, having the form-
> source all escaped to som
thanks Satheesh, the set_language function is partially working for
me. When I click the lauguage hyperlinks, only the word "Home" works,
but when I change the msgid to be "Home1", it stop working. It seems
that "Home" is a django preserved word which get auto-translated.
1. In my base.html, I ha
On Fri, 2008-10-10 at 18:43 -0600, Jeff Anderson wrote:
> Hello,
>
> So I'm working on a third party Django app, and we use a couple generic
> views, specifically login and logout.
>
> For the urls.py in a project that uses our app, we do this:
>
> (r'^path', include(smug.urls), {'repo': '
On Fri, 2008-10-10 at 11:51 -0700, Karthik Krishnan wrote:
> Hi,
>
> I am trying to run a unit test for my models. My unit test is as
> follows
>
> import os
> import unittest
> from myproject import models
Here's the first problem (or maybe two problems). You can't reliably
import models from
On Fri, 2008-10-10 at 13:34 +0200, Matias Surdi wrote:
> The same I do
>
> {{form.interface.initial}}
Assuming you mean that "interface" is one of your form fields here (and
why make us guess if that's the case?), this isn't a very robust way of
getting the initial value. The initial value coul
On Sat, Oct 11, 2008 at 5:15 PM, dbee <[EMAIL PROTECTED]> wrote:
>
> Been using django for sometime - never had any serious issues with it
> as a framework. Now, all of a sudden it won't allow me to login.
>
> I'm beginning to wonder if perhaps someone hasn't hacked the server
> and done some mess
Been using django for sometime - never had any serious issues with it
as a framework. Now, all of a sudden it won't allow me to login.
I'm beginning to wonder if perhaps someone hasn't hacked the server
and done some messing about with the backend
Environment:
Request Method: POST
Request
On Oct 10, 5:53 pm, "Adam V." <[EMAIL PROTECTED]> wrote:
> > OT: I respect your position but, why you use mssql?
>
> Our IT systems at work are already Windows / SQL Server based, so it
> made sense to do our new web development against the same database.
In my case, it is a client requirement.
-
On Oct 11, 7:07 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> You can redirect to something like /logged_in, this view has access to
> request.user so can redirect you to /users/username/
Thank you for the tips. It worked :-)
--~--~-~--~~~---~--~~
You received
I think it might be overkill to use GeoDjango, anyone else know of a
module I can use for this?
--~--~-~--~~~---~--~~
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@g
On Oct 11, 2:55 pm, "F.Pighi" <[EMAIL PROTECTED]> wrote:
> Hi all, I'm a newbie and I'm having some trouble with the login
> process.
>
> I just want to redirect the user to /users/(?P[^/]+)/profile
> or just /users/(?P[^/]+) after a successful login.
>
> How can I do it? I tried using the defau
On Fri, Oct 10, 2008 at 3:19 PM, Alessandro <[EMAIL PROTECTED]>wrote:
> In a project I have
> class Scheda(models.Model):
>referente = models.ForeignKey(User,related_name="schede",
> editable=False)
>
> and I can use:
> User.objects.distinct().filter(schede__isnull=False):
>
> in another I hav
Sounds like you should be doing something in the form's clean() function. You
can compare what's in the cleaned_data to what's in the model and then move
from there.
\d
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
>
> You posted the same question in a different thread less than 16 hours
> ago. Please realize that everyone who answers questions on this list
> volunteers their time to do so, so questions may not be answered
> immediately. Increasing the traffic on an already high-traffic list
> by duplica
Hi all, I'm a newbie and I'm having some trouble with the login
process.
I just want to redirect the user to /users/(?P[^/]+)/profile
or just /users/(?P[^/]+) after a successful login.
How can I do it? I tried using the default login view it seems I have
to use the LOGIN_REDIRECT_URL variable in
On Sat, Oct 11, 2008 at 8:38 AM, Stephen Cheng
<[EMAIL PROTECTED]>wrote:
>
> I am wondering how to get distinct values for a ForeignKey field
>
> For example:
> class ModelA(models.Model):
>.
>city=models.ForeignKey(City)
>
distinct_cities = ModelA.values('
On Sat, Oct 11, 2008 at 7:52 AM, J <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've got a couple of related models that I want to use together in a
> queryset, which I will be passing to a the generic view
> "date_based.archive_index". This generic view requires a "date_field"
> argument specifying
On Sat, Oct 11, 2008 at 4:39 AM, NoviceSortOf <[EMAIL PROTECTED]> wrote:
>
> These lines in forms.py
> ---
> 92. new_user =
>
> RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
> 93. pass
I am wondering how to get distinct values for a ForeignKey field
For example:
class ModelA(models.Model):
.
city=models.ForeignKey(City)
I understand that I can pass the list to template than probably use
regroup and get the group values, but is there a ef
Sorry, I first posted this on the django developppers group, which was
obviously wrong.
Probably a simple, stupid error I'm making:
I try to display a form in a template using:
{{ rForm.as_table }}
The browser displays pure html of the form content, having the form-
source all escaped to s
Hi all,
I've got a couple of related models that I want to use together in a
queryset, which I will be passing to a the generic view
"date_based.archive_index". This generic view requires a "date_field"
argument specifying "the name of the field that the date-based archive
[view] should use to de
On Oct 11, 12:53 pm, mguthrie <[EMAIL PROTECTED]> wrote:
> Discussing all of this has made me re-think my approach and whether
> Django will be a good fit for this specific project. It may be better
> for me to simply use a different python framework and let the client
> separation be handled
On Oct 11, 7:58 am, jhf555 <[EMAIL PROTECTED]> wrote:
> I have an array and I want to use Django templating to display each
> item in a table, grouped by 3 per row.
> For example, if i have
> arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]
> Then I'd want it to show up as
>
> abc
>
I have an array and I want to use Django templating to display each
item in a table, grouped by 3 per row.
For example, if i have
arr = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j"]
Then I'd want it to show up as
abc
def
ghi
j
In general, the array could be any length, and it's p
On Sat, Oct 11, 2008 at 3:01 PM, Hingarajiya,Ravi
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I want to know that how to run syncdb command using command line arguments
> as site-username, password and email id.
>
>Example : python manage.py syncdb
>
>
> I don't want to insert site-usern
These lines in forms.py
---
92. new_user =
RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
93. password=self.cleaned_data['password1'],
94. first_name=self.cleaned_data['first_name'],
Hi All
I am using Jython interpreter for Django Web Framework.
Anybody know that how to connect mysql database with Jython interpreter
for Django Application ?
Ravi Hingarajiya.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi All,
I want to know that how to run syncdb command using command line arguments
as site-username, password and email id.
Example : python manage.py syncdb
I don't want to insert site-username,site-password and email id after
command manage.py syncdb
Ravi Hingarajiya.
--~--~
29 matches
Mail list logo