2013/3/14 Felipe Coelho
> I'm using Django 1.5 and I'm trying to make an application work with
> any custom user model.
>
> The issue is that I want to be able to test the app as well, but I
> can't find a way to make `ForeignKey` model fields to test correctly
> using custom user models. When I
On Friday, March 15, 2013 12:04:56 PM UTC+1, Daniel Roseman wrote:
>
> On Friday, 15 March 2013 10:05:48 UTC, br...@kanka.de wrote:
>
>> Because the 'brand' comprises a package manager? ...
>> *aptitude install libapache2-mod-wsgi*
>>
> I found that after browsing several blogs - it should be in th
Hi all,
I'm trying to retrieve an object from a custom template tag. This is possible?
I explain here with details what I'm expecting to do?
http://stackoverflow.com/questions/15450003/django-how-to-retrieve-an-object-from-a-custom-template-tag
Any clues? What is the best way to avhieve this?
Thank you Chris! I changed mysite.books to books and everything works fine
now.
On Friday, November 30, 2012 7:54:36 AM UTC+5:30, Chris Recher wrote:
>
> Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is
> based on. After fooling around with the commands for a bit, I was a
Been at this for a bit today, one vhost file is defaulting and takes over
and serves for both my URLs:
Example: ( server1 is serving for www.server2.com ??? )
www.server1.com
www.server2.com
vhost confs:
server1
ServerName www.server1.com
ErrorLog /.../apache/error.log
Hi, Derek!
First of all, thank you! :)
> Looks good ... I think a demo with more items in it would be useful se we
> can see how page navigation works. It also seems that there is no record
> count when you add a filter (eg. "displaying 5 of 20")?
Sure, you're right - actually with large amount
Hello,
I am trying to install Django with Jython.
System - Windows 7, 64bit
Jython - 2.5.4rc1 (installed succesfully)
Django - 1.5 (not yet installed)
When I am in the unpacked Django-1.5 directory and try to run the command
line instruction 'python setup.py install' I get the error message:
'
Hi, SeeGull!
It seems that Django 1.5 is incompatible with your version of Jython
(or with Jython at all, I don't know).
I've looked at 'django/utils/version.py' (you can see from traceback -
exception raised in this file):
https://github.com/django/django/blob/master/django/utils/version.py
So,
On Fri, Mar 15, 2013 at 6:43 PM, Larry Martell wrote:
> On Thu, Mar 14, 2013 at 5:08 PM, Shawn Milochik wrote:
>> On Thu, Mar 14, 2013 at 6:03 PM, Larry Martell
>> wrote:
>>>
>>> I have been googing this for 2 days and trying lots of different
>>> things, without success. I really appreciate yo
On Sat, Mar 16, 2013 at 9:25 AM, wrote:
> Secondly, python 2.7 being "highly recommended" for Dj 1.5 can not be used
> in debian stable.
> Installing a virtualenv again undermines package management control.
Using virtualenv does not undermine package management and is the
best-practice and
Thanks for the response.
1. I have now isolated the problem with the install. It is indeed a version
compatibility mismatch. Django 1.5* does not support Jython 2.5*.
Django 1.5* requires the unstable development version Jython 2.7*
Django 1.4* is compatible with the stable old version Jython 2.
On Sun, Mar 17, 2013 at 12:00 AM, Larry Martell wrote:
>
> Is there a way for me to get the path on the local computer of the
> files? In request.FILES all I see are the base names.
>
No. That would be pose serious security / privacy issues and afaik, is
definitely not possible to do. What would
On Sat, Mar 16, 2013 at 2:47 PM, Sanjay Bhangar wrote:
> On Sun, Mar 17, 2013 at 12:00 AM, Larry Martell
> wrote:
>>
>> Is there a way for me to get the path on the local computer of the
>> files? In request.FILES all I see are the base names.
>>
>
> No. That would be pose serious security / pri
On Thu, Mar 14, 2013 at 9:58 AM, Bill Freeman wrote:
> Note that you don't have to use the Django template engine to render
> things.
>
> For one thing, if you found a less problematic templating engine, using it
> as
> well doesn't prevent you from using Django's template engine for other
> page
On Sat, Mar 16, 2013 at 9:14 PM, Felipe Coelho wrote:
> 2013/3/14 Felipe Coelho
>
>> I'm using Django 1.5 and I'm trying to make an application work with
>> any custom user model.
>>
>> The issue is that I want to be able to test the app as well, but I
>> can't find a way to make `ForeignKey` mo
Rafael,
This is a bit of a wild guess, but I'm wondering if your form isn't
validating. Since your template doesn't seem to be displaying any errors,
you wouldn't know it.
Also, since the Url column is marked as unique, but you are excluding it
from the form, it may be the field throwing th
16 matches
Mail list logo