On Apr 18, 8:26 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
> Personally, I use a toolkit to lessen cross-browser compatibility
> problems as well as to speed quick, little functionality (eg.
> animations). I chose jQuery because it's small, unobtrusive, and I
> love the CSS-like syntax.
On Apr 13, 6:15 pm, "Ian Clelland" <[EMAIL PROTECTED]> wrote:
> On 4/13/07,Tipan<[EMAIL PROTECTED]> wrote:
>
> it would seem to me that the "/" in "/>", which closes out the tag,
> could be interpreted by the browser as part of the value, rather than
> part of the HTML tag. I would try putting t
I was reading djiagobook.com. I started an app, added some models,
and ./manage.py syncdb, the all seems well. when I try to views the
http://127.0.0.1/admin , It tell me that password wrong identify
failed. But the user and password in setting.py can login in psql.
When I use djangotestserver, it
The code is under the Python2.4 License. the license file did not get
merged from a branch when the code got migrated off of us.pycon.org to
svn.python.org. (sorry about that).
We are working on getting a roundup bug system on python.org (some
time after the main python development moves off of so
Also...it seems if I have two instances of this running on the same
apache server...that one sporadically looks at the wrong urls.py file
( the one for another instance )
Is it not valid to do the following in the apache conf file?
SetHandler python-program
PythonHandler django.core.h
On 20-Apr-07, at 9:34 AM, [EMAIL PROTECTED] wrote:
> For the Python Conference software we came up with out own wrappers
> and a monkey patch to the django email sub system.
> The code is here:
> https://svn.python.org/conference/django/trunk/pycon/core/mail.py
just a question - the pycon softw
I don't think I can convince our network guys to do that... they
prefer not to open anymore ports than necessary.
On Apr 20, 12:28 am, "Julio Nobrega" <[EMAIL PROTECTED]> wrote:
> You could use different directories (Django projects) under multiple
> VirtualServers (different domain names / por
You could use different directories (Django projects) under multiple
VirtualServers (different domain names / ports), each one for a
particular developer.
On 4/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm trying to setup three development directories for different
> programmers,
On Thu, 2007-04-19 at 23:22 -0500, Jeremy Dunck wrote:
> On 4/19/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> ...
> > The good news is that the QuerySet refactor uses "ON" conditions for
> > joins (because it's easier), so this might improve as if by magic
> > shortly.
>
> Ah, I didn't kno
On 20-Apr-07, at 8:53 AM, Jeremy Dunck wrote:
>>
>> check out satchmo - it is an erp with django
>
> If you mean this satchmo:
> http://www.satchmoproject.com/
> then I think we're not agreeing on what ERP is:
> http://en.wikipedia.org/wiki/Enterprise_resource_planning
> :)
i stand corrected
On 4/19/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
...
> The good news is that the QuerySet refactor uses "ON" conditions for
> joins (because it's easier), so this might improve as if by magic
> shortly.
Ah, I didn't know QS refactor was in-progress. Is it part of
newforms-admin or are y
For the Python Conference software we came up with out own wrappers
and a monkey patch to the django email sub system.
The code is here:
https://svn.python.org/conference/django/trunk/pycon/core/mail.py
This allows you to optionally specify DEFAULT_EMAIL_CHARSET and
DEFAULT_EMAIL_SUBJECT_CHARSET
I'm trying to setup three development directories for different
programmers, for us each to be able to checkout our project to from
svn on the same development machine...
Basically, I wanted to setup apache to have
/projectname = main merged project instance
/dev1/projectname = developer #1 work
On 4/19/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> check out satchmo - it is an erp with django
If you mean this satchmo:
http://www.satchmoproject.com/
then I think we're not agreeing on what ERP is:
http://en.wikipedia.org/wiki/Enterprise_resource_planning
:)
--~--~-~--~---
Has anyone tried cx_freeze to compile their code into a single binary?
I've been trying, but I'm unable to run the final binary. Now... I
assume that I'm supposed to "freeze' manage.py... which is what I
tried. Here's the output:
[EMAIL PROTECTED] ajc]# ./manage
Traceback (most recent call last):
On 19-Apr-07, at 8:07 PM, Jeremy Dunck wrote:
> Databrowse could be considered Access for the web.
w00t - coolest thing since the mini idli
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this me
On Thu, 2007-04-19 at 16:48 -0700, gkelly wrote:
> This error comes up sometimes at random when running on mod_python
> (dev server works fine).
> Note that I am NOT using django's site app.
Something you are using requires it, though. I think the solution here
is to install the sites application
On Thu, 2007-04-19 at 10:36 -0500, Tim Chase wrote:
[...]
> >> -be careful with tracebacks if, for some reason, you have a
> >> query-set that brings back bajillions of records and you error
> > ...
> > Yeah, I don't really know what to do with this. It's hard to know how
> > big something is (me
On 19-Apr-07, at 6:47 PM, gops wrote:
> I want to develop a ERP for very small business ( two - three use +
> customer : normally not more than 10 people using the erp )
check out satchmo - it is an erp with django
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
FYI All,
International Python user groups events calendar:
http://TechVenue.com/Calendars/Python/
Enjoy!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Just one comment on this: At Tabblo, we've found it very useful to have
not only SQL migrations, but Python migrations as well, because database
migrations involve not just schema changes, but also data changes.
While SQL can be used to update the data, it can be much easier to do it
with Pyt
oggie rob wrote:
> You're missing the __str__ method. Not sure if that is causing the
> "Error" though.
Thanks Rob, I added the __str__ method and all it does is that Admin now shows
each
entry as whatever the str method returns. It's useful though so thanks.
But I still get the error Error: va
On 4/19/07, Mike H <[EMAIL PROTECTED]> wrote:
>
> I've been working on a tool to give me an automated way of altering the
> schemas on servers I deploy my django applications to. I know about the
> schema-evolution branch, but the current approach of that isn't
> completely automated and the work
This error comes up sometimes at random when running on mod_python
(dev server works fine).
Note that I am NOT using django's site app.
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/
base.py" in get_response
77. response = callback(request,
On 4/20/07, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
>
> Hi guys!
>
> Is there a way to define a custom manager on a ManyToMany
> relationship? See the code above:
Only on a limited basis. The relation descriptor inherits the default
manager for the class it is relating to. So, in your ex
That patch is all that's available, AFAIK.
On 4/19/07, Stephan Jennewein <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> is there something like a BigIntegerField for the models.py ?
> I need an integer bigger than 4 byte.
>
> I found a patch for revision 3000 but it doesn't work.
>
> Stephan
>
>
> >
>
-
Hi,
is there something like a BigIntegerField for the models.py ?
I need an integer bigger than 4 byte.
I found a patch for revision 3000 but it doesn't work.
Stephan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
>From zero to dogfood widgets in one day with django
http://widget.teenwag.com/widget
--~--~-~--~~~---~--~~
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@googlegro
On 4/19/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> >> Well, whitespaces in Python are pretty difficult to keep in
> >> line, if you are used to other languages. I personally use
> >> Tabs for intending and VIM editor and have it to make Tabs
> >> visible like dark blue |--,
> >
> > Hey, do y
>> Well, whitespaces in Python are pretty difficult to keep in
>> line, if you are used to other languages. I personally use
>> Tabs for intending and VIM editor and have it to make Tabs
>> visible like dark blue |--,
>
> Hey, do you mind sharing your .vimrc for that, probably best
> on dpast
Great! Thanks - I look forward to what you guys do with this!
On Apr 18, 6:09 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 4/19/07, Condredge <[EMAIL PROTECTED]> wrote:
>
>
>
> > I wonder if anyone else has discovered this problem. I have an
> > application which sends email. Mos
Hi,
I would need to use i18n for flatpages.
Is that possible and if yes, could you share how to define translation
string in flatpages templates.
Regarding to that, I thought about 'flat page builder' app with
ability to divide content to smaller blocks (paragraphs, ..)
The great option would
http://www.teenwag.com/showvideo/1057
--~--~-~--~~~---~--~~
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 ema
On Mar 29, 9:03 am, Gilhad <[EMAIL PROTECTED]> wrote:
> On Wednesday 28 March 2007 11:50, wheresdave wrote:
>
> > got it fixed. Whitespace was showing up before pass. found the setting
> > in scite to show whitespace.
>
> Well, whitespaces in Python are pretty difficult to keep in line, if you are
Hi guys!
Is there a way to define a custom manager on a ManyToMany
relationship? See the code above:
...
from django.contrib.sites.models import Site
class Country(models.Model):
...
class Person(models.Model):
country = models.ManyToMany(Country, related_name="people")
site = m
Zundra,
I would recommend you use cx_Oracle 4.3.1 (released only yesterday),
as it contains some significant fixes for LOB handling.
The boulder-oracle-sprint branch is nearly complete...according to me
and the other developer who've been working on it. We're using the
code in production here f
On 4/19/07, garyrob <[EMAIL PROTECTED]> wrote:
> I understand that there are multiple processes, for instance there is
> a database server, a web server, etc. But suppose there's quite heavy,
> cpu-consuming business logic involved in responding to client
> requests. Can there be multiple processe
On Thursday 19 April 2007 07:47, Michael K wrote:
> The best part is, if you put together the models
> first, the clients can start adding and manipulating content before
> you're done with all of the functionality - just give them access to
> the admin panel, if you want.
Well, that is pr
Thanks. This also fixed it for me.
Guess what: I'm new to Python :-)
On 29 Mrz., 15:03, Gilhad <[EMAIL PROTECTED]> wrote:
> On Wednesday 28 March 2007 11:50, wheresdave wrote:
>
> > got it fixed. Whitespace was showing up before pass. found the setting
> > in scite to show whitespace.
>
> Well, w
I posted a question here a few months ago about benefitting from
multiprocessing when using Django. I was concerned about the GIL
getting in the way. I received a response: "if you're running Django
in an approved deployment setup -- that is, under mod_python or FCGI
-- you'll be running a number
Hello,
Can you share the initial code with us? This approach seems to be
good. Do you have experience on some project?
David
Mike H napsal:
> Hi all,
>
> I've been working on a tool to give me an automated way of altering the
> schemas on servers I deploy my django applications to. I know about
On Apr 19, 12:25 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> Django on windows works fine - I've set up Apache/ModPython/MySQL and
> Apache/ModPython/Postgres. I wouldn't recommend sticking this on the same
> machine as a domain controller and Exchange though. For that matter, I
> wouldn't re
Download Weather Toolbar - Instant weather reports, forecasts, and
radar images anytime for FREE! - http://offr.biz/HLWSD286251KJGHEDC
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Apr 19, 12:18 pm, Michael K <[EMAIL PROTECTED]> wrote:
> On Apr 19, 12:40 pm, jay graves <[EMAIL PROTECTED]> wrote:
> application on Windows using ODBC? If so, you're not necessarily
> stuck with Windows Server, as there are ODBC solutions for Linux/BSD,
> meaning you could put the Apache serv
If you're new to Django, I'd generally recommend that you stick with
released versions. Fewer things changing on you while you're learning. If
you like diving in the deep end, the trunk is good - just be aware you'll be
spending more time/energy with it. It's reasonably stable, but API changes
are
Of course, the title should read:
"Persistance after re-submit for ImageField/FileField uploads in newforms"
On 4/19/07, Benjamin Slavin <[EMAIL PROTECTED]> wrote:
> Howdy all,
>
> I'm putting together an application that's using a file upload in
> newforms (the target is images).
>
> The problem
On Apr 19, 12:40 pm, jay graves <[EMAIL PROTECTED]> wrote:
> I'm a Django newbie (1 week) but a long time (since early 2000) Python
> programmer.
>
> I have an internal project for work and I'm proposing that we use
> Django.
>
> Here are some general questions that I would like the community's
>
Howdy all,
I'm putting together an application that's using a file upload in
newforms (the target is images).
The problem that I'm having is that, when there's a validation error
elsewhere in the form, the image is 'lost' and the user has to
re-attach it to resubmit.
Because Django clears-out c
On May 5 2006, 6:35 pm, "Jakub Labath" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have web server that is accessed both via http and https is there a
> way for me to tell which is used?
>
> Thanks
I notice at http://www.djangoproject.com/documentation/request_response/
there's a bit that reads a fol
I'm a Django newbie (1 week) but a long time (since early 2000) Python
programmer.
I have an internal project for work and I'm proposing that we use
Django.
Here are some general questions that I would like the community's
opinion on.
1. I have to use Windows 2003 server due to the fact that I
> Nicola Larosa wrote:
>> This is the dream of the Semantic Web: a way of mixing data and metadata so
>> that you have an array of relations (like those in Dublin Core) that relate
>> subject and object (the RDF triple). And every object is defined by a set
>> of relations connecting it to other o
>> Nicola Larosa wrote:
>>> The next step is doing away with a predefined model altogether.
>>> Semantic web CMS, anyone? ;-)
> Jeremy Dunck wrote:
>> Have you looked at trunk/django/contrib/databrowse yet? :)
Tim Chase wrote:
> This was the contrib that Adrian unveiled at PyCon2007 that had a
On 19/04/07, James Bennett <[EMAIL PROTECTED]> wrote:
> This is something best handled by an RDF store or an object database,
> neither of which is currently supported for Django; feel like writing
> some new backends for us? ;)
IIRC Bill de hÓra was working on such a beast. Bill?
--
Antonio
--~
On 4/19/07, Nicola Larosa <[EMAIL PROTECTED]> wrote:
> This is the dream of the Semantic Web: a way of mixing data and metadata so
> that you have an array of relations (like those in Dublin Core) that relate
> subject and object (the RDF triple). And every object is defined by a set
> of relation
On 4/19/07, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> i do not want this. i'd like to find a way,
> which TRIES to delete the object, and if not possible
> (foreign-key-restrictions), then raises an exception.
This really isn't possible right now without doing a lot of hacking
around; the problem
hi,
i'm trying to somehow limit my users to non-cascading deletes.
the problem is the following:
when you delete() something in django, it deletes also all the related
objects.
i do not want this. i'd like to find a way,
which TRIES to delete the object, and if not possible
(foreign-key-rest
>> (with several hundred clients, drilldown
>> would be nice).
>
> Indeed. I think you may want to look a the newforms-admin branch. I
> think the most natural would be to add auto-complete filters and
> multiple applied filters.
> Also, perhaps data_hierarchy will help in the short term:
> htt
Thanks a lot, this answers my question from a couple of days as well!
It works again!
Rob
On Apr 19, 2007, at 8:05 AM, James Bennett wrote:
>
> On 4/19/07, mojo <[EMAIL PROTECTED]> wrote:
>> I think this might be a bug. Unexpected behaviour at least.
>> When I delete default Site object ('examp
I see now. Thank you.
I just hoped that I found a bug.
-Original Message-
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of James Bennett
Sent: Thursday, April 19, 2007 7:05 PM
To: django-users@googlegroups.com
Subject: Re: Generic login view bug suspection
On 4
It was Jeff Croft releasing the source for Lost-Theories that pulled
me in. I just saw how I could make Django work for me, instead of
trying to make something else work.
On Apr 18, 8:40 pm, M Harris <[EMAIL PROTECTED]> wrote:
> On Wednesday 18 April 2007 14:22, [EMAIL PROTECTED] wrote:> For what
On 4/19/07, Tim Chase <[EMAIL PROTECTED]> wrote:
...
>(with several hundred clients, drilldown
> would be nice).
Indeed. I think you may want to look a the newforms-admin branch. I
think the most natural would be to add auto-complete filters and
multiple applied filters.
Also, perhaps data_hier
On Apr 18, 1:57 pm, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I checked out a fresh copy of django-svn with databrowse contrib app included.
>
> I run 'python setup.py sdist' or 'python setup.py bdist_rpm' and the
> templates-folder of databrowse is missing.
>
> Can somebody verify this ?
>
> Regard
On 4/19/07, mojo <[EMAIL PROTECTED]> wrote:
> I think this might be a bug. Unexpected behaviour at least.
> When I delete default Site object ('example.com'), generic login view raises
> exception, as it is looking for Site with pk=1.
We really need to document this a little better; if you delete
On Apr 19, 10:47 am, "mojo" <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I think this might be a bug. Unexpected behaviour at least.
> When I delete default Site object ('example.com'), generic login view raises
> exception, as it is looking for Site with pk=1.
Hello!
I'm still a little new, but I bel
Django is a great framework for building custom web apps -- but I am not
sure it is the most sensible solution for your needs. If what you want is
standard ERP functionality, delivered over the web, there is no need for you
to reinvent the wheel. Quite a few existing open source projects may meet
Hi.
I think this might be a bug. Unexpected behaviour at least.
When I delete default Site object ('example.com'), generic login view raises
exception, as it is looking for Site with pk=1.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi all,
I've been working on a tool to give me an automated way of altering the
schemas on servers I deploy my django applications to. I know about the
schema-evolution branch, but the current approach of that isn't
completely automated and the work seems to have stopped on it.
The approach I h
Cool, thanks!
BTW, also be weary of trailing spaces in the doctests, they can also
screw things up
for example:
...
>>> suite1.runday.all()
[]
"""
That tested fine but:
...
>>> suite1.runday.all()
[] |<- line actually ends here
"""
failed.
On 19/04/
On Apr 19, 10:39 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> This was the contrib that Adrian unveiled at PyCon2007 that had a
> room full of applause. I beleve he referred to it as giving "the
> treatment" or "the works" to your data. It allows easy
> exploration of a data-set, as it will create
On 4/19/07, Jay Parlar <[EMAIL PROTECTED]> wrote:
...
> Is that what Adrian's going for? I briefly tried out databrowse the
> other day, and couldn't quite see the point (realizing of course that
> it's brand new).
Well, I just meant views and models magically created based on the data.
>From do
>> Have you looked at trunk/django/contrib/databrowse yet? :)
>
> Wow, I don't update since 49xx, lo and behold, there's a new module
> in contrib! Just briefly looking over it, it looks like it wraps
> models for some black magic data browsing? And what's this? A plugin
> hook? :)
This was
On Apr 19, 10:17 am, Michael K <[EMAIL PROTECTED]> wrote:
> On Apr 19, 9:03 am, "Ryan Alexander" <[EMAIL PROTECTED]> wrote:
>
> There's an easier (django) way to do this:
>
> def __str__(self):
> return self.day.get_day_display()
>
> This will return the second value of the tuple, "S
On Apr 19, 9:31 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 4/19/07, Nicola Larosa <[EMAIL PROTECTED]> wrote:
>
>
>
> > Michael K wrote:
> > > The best part is, if you put together the models first, the clients can
> > > start adding and manipulating content before you're done with all of
On Apr 19, 10:02 am, "Ryan Alexander" <[EMAIL PROTECTED]> wrote:
> Solved my own problem, admitting to my own stupidity for the sake of
> posterity and search engines.
>
> The problem was that one of the lines in the test had an extra space
> in it before the prompt, (I was using tabs btw, I don
On Apr 19, 9:03 am, "Ryan Alexander" <[EMAIL PROTECTED]> wrote:
> Here's the code at the top of my models.py file:
[snip]
> def __str__(self):
> if self.day is None:
> return 'undefined'
> else:
> return WEEKDAY_CHOICES[int(self.day)][1]
There's an ea
On 4/19/07, gops <[EMAIL PROTECTED]> wrote:
>
> Hey thanks for those coolest links , i think this will be enough for
> me getting started ,
>
> i am from hard core c c++ programming background taking babystep in
> web development , so my target it to "learn one thing that do it
> all" , and after
On 4/19/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
> On 4/19/07, Nicola Larosa <[EMAIL PROTECTED]> wrote:
> > The next step is doing away with a predefined model altogether. Semantic
> > web CMS, anyone? ;-)
>
> Have you looked at trunk/django/contrib/databrowse yet? :)
Is that what Adrian's
Hey thanks for those coolest links , i think this will be enough for
me getting started ,
i am from hard core c c++ programming background taking babystep in
web development , so my target it to "learn one thing that do it
all" , and after much of googling , i think django is the right
choice ,
Solved my own problem, admitting to my own stupidity for the sake of
posterity and search engines.
The problem was that one of the lines in the test had an extra space
in it before the prompt, (I was using tabs btw, I don't know how it
got there.)
Anyway, that extra space made the whole thing be
On Apr 19, 9:07 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> +1
>
> "
> A veces da la impresión de que hay un concurso del tipo ¡Con XXX monto
> una aplicación del tipo YYY en ZZZ minutos ! ó ¡Mi framework lava más
> blanco!
>
> No vamos a entrar en el juego.
> "
>
> Thank you. :)
A fair shak
On Apr 19, 9:17 am, gops <[EMAIL PROTECTED]> wrote:
> Hi ,
>
> I want to develop a ERP for very small business ( two - three use +
> customer : normally not more than 10 people using the erp ) , I know a
> little bit of php , but i am interested in django as my platform ,
>
> my question is , is t
On Apr 19, 9:23 am, Nicola Larosa <[EMAIL PROTECTED]> wrote:
> Michael K wrote:
> > The best part is, if you put together the models first, the clients can
> > start adding and manipulating content before you're done with all of the
> > functionality - just give them access to the admin panel, i
Hi Robbin,
> > I've done a method to resize images on demand on a template, it is a
> > simple filter that made use of PIL.Image, see the following template
> > code:
>
> Sounds similair to the nesh thumbnail
> utils:http://code.google.com/p/django-utils/wiki/Thumbnail
Hugh, very similar :), bu
On 4/19/07, Nicola Larosa <[EMAIL PROTECTED]> wrote:
>
> Michael K wrote:
> > The best part is, if you put together the models first, the clients can
> > start adding and manipulating content before you're done with all of the
> > functionality - just give them access to the admin panel, if you wa
Michael K wrote:
> The best part is, if you put together the models first, the clients can
> start adding and manipulating content before you're done with all of the
> functionality - just give them access to the admin panel, if you want.
The next step is doing away with a predefined model altoge
Hi ,
I want to develop a ERP for very small business ( two - three use +
customer : normally not more than 10 people using the erp ) , I know a
little bit of php , but i am interested in django as my platform ,
my question is , is there any such system available which i can look
at to get some i
On 4/19/07, Michael K <[EMAIL PROTECTED]> wrote:
...
> Your English is better than my Spanish (and probably my own English) -
> from what I can comprehend, the tutorial looks very thorough and well
> done!
+1
"
A veces da la impresión de que hay un concurso del tipo ¡Con XXX monto
una aplicación
Here's the code at the top of my models.py file:
from django.db import models
from django.newforms import forms, widgets
from datetime import datetime
# Create your models here.
WEEKDAY_CHOICES = (
(0, 'Monday'),
(1, 'Tuesday'),
(2, 'Wednesday'),
(3, 'Thursday'),
(4, 'Friday'
I've been struggling with getting Django's defaults to play
nicely with our rather large data-sets. For small data-sets,
Django works like a charm. However, our company manages around
tens of thousands of phones for other companies (and then there's
the call-detail for many of those accounts
On Apr 19, 5:36 am, David Asorey Álvarez <[EMAIL PROTECTED]> wrote:
> I've written a tutorial in Spanish, maybe it could interest to some of
> you.
> This document lives at:http://davidasorey.net/static/django-tutorial/
>
> Best,
>
> --
> Davidhttp://davidasorey.net
>
> P.S.: Excuse my poor syn
On Apr 18, 9:40 pm, M Harris <[EMAIL PROTECTED]> wrote:
> On Wednesday 18 April 2007 14:22, [EMAIL PROTECTED] wrote:> For what it's
> worth, I found Django to be LESS work than Mambo/Joomla,
> > just because I wasted an ungodly amount of time trying to make Mambo
> > do what I wanted.
>
>
On 4/19/07, jararaca <[EMAIL PROTECTED]> wrote:
>
> > The most likely cause I can think of is that your test extends
> > unittest.TestCase, not django.test.TestCase.
>
> Yes, you're right indeed. I have corrected this but still the fixture
> is not found + the tests now take 3 minutes instead of h
> I've done a method to resize images on demand on a template, it is a
> simple filter that made use of PIL.Image, see the following template
> code:
Sounds similair to the nesh thumbnail utils:
http://code.google.com/p/django-utils/wiki/Thumbnail
--~--~-~--~~~---~
Many thanks Macolm that's very clear.
can't replicate the error any
> > longer - I do apologize for wasting your time.
>
> > However, one additional question.. is there an easy way to a record
> > from a queery set dynamically (without touching the DB)? What I'm
> > looking do do in my view is
> The most likely cause I can think of is that your test extends
> unittest.TestCase, not django.test.TestCase.
Yes, you're right indeed. I have corrected this but still the fixture
is not found + the tests now take 3 minutes instead of half a second.
I think I'll stick to the "initial_data" vari
On Thu, 2007-04-19 at 10:45 +, ashwoods wrote:
> ah, i code for english, german, spanish. :)
>
> but as far as i know, the encoding declaration is only needed if you
> have special chars in _code_ as opposed to strings. your strings can
> be unicode without having to declare an encoding for
On 4/19/07, jararaca <[EMAIL PROTECTED]> wrote:
>
> Is this an error in the documentation, a future feature or did I miss
> anything?
Hi Micha,
The most likely cause I can think of is that your test extends
unittest.TestCase, not django.test.TestCase. The fixture list is only
loaded if your unit
On 19 avr, 12:45, ashwoods <[EMAIL PROTECTED]> wrote:
> ah, i code for english, german, spanish. :)
>
> but as far as i know, the encoding declaration is only needed if you
> have special chars in _code_ as opposed to strings. your strings can
> be unicode without having to declare an encoding fo
I have some templates I'm using to produce static content, and in the base
template, there's a block called 'title' used for the page title. I also want
to use the same text content for the page title displayed in the body, and in
a few other places, however this doesn't appear to be possible.
ah, i code for english, german, spanish. :)
but as far as i know, the encoding declaration is only needed if you
have special chars in _code_ as opposed to strings. your strings can
be unicode without having to declare an encoding for the python file.
my opinion is that if you can, you should e
1 - 100 of 112 matches
Mail list logo