Fixed thanks!
On Dec 17, 1:29 pm, "eka (Esteban)" wrote:
> It tries both (en_US, en) but import_module fails to import it
>
> On Dec 17, 12:58 pm, "eka (Esteban)" wrote:
>
> > debugging found that is trying to open *** ImportError: No module
>
It tries both (en_US, en) but import_module fails to import it
On Dec 17, 12:58 pm, "eka (Esteban)" wrote:
> debugging found that is trying to open *** ImportError: No module
> named formats.en_US.formats
>
> en_US ? shouldn't be 'en' ?
>
> On Dec 17,
debugging found that is trying to open *** ImportError: No module
named formats.en_US.formats
en_US ? shouldn't be 'en' ?
On Dec 17, 12:40 pm, "eka (Esteban)" wrote:
> Any reason why django is not reading from my FORMAT_MODULE_PATH ?
> USE_L10N = True, USE_I18N =
Any reason why django is not reading from my FORMAT_MODULE_PATH ?
USE_L10N = True, USE_I18N = True
the date is transformed but not to my format but to the one in
django.conf.locale
django v1.2.3
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hi all,
I have an Entry model with a FK to User, what I want is to get a list
of Users ordered by its Entry quantity. Can I achieve that using
QuerySets?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
By now I made my own TextAreaField that will replace('\r\n', '\n') in
the to_python method
On Jun 25, 11:34 pm, "eka (Esteban)" wrote:
> Hi all
>
> I created a form with a textarea that has a max_length of 1024, this
> textarea is rendered in fr
Hi all
I created a form with a textarea that has a max_length of 1024, this
textarea is rendered in frontend with a Javascript character counter,
what is odd is that the counter was giving the right length, in this
case 1024 and the form was failing in the max_length... debugging I
came to see tha
Hi all,
Django 1.1.1
My testcase was breaking cause my post_save handler wasn't receiving
the proper arguments, after a couple of times using it I became
dumbfounded when I found this for the post_save
post_save = Signal(providing_args=["instance", "raw", "created"])
line 9 django.db.models.sig
Hi all
I'm developing an app for a project and I would like to test it but
with models that are not from the project itself nor from the app. So
is there a way to create models that are used only in tests? In the
way that they are created only at test run and not at a normal syncdb?
Note: I'm usi
Found that loaddata also doesn't work when the DB has no records.
Same error.
On Apr 28, 7:47 pm, "eka (Esteban)" wrote:
> Hi all,
>
> Did a dumpdata of my project, then added that to my test and I get:
> DoesNotExist: XXX matching query does not exist.
> The
Hi all,
Did a dumpdata of my project, then added that to my test and I get:
DoesNotExist: XXX matching query does not exist.
The strange thing is that manually loading it using loaddata works
perfectly.
Any clue?
Note: Using django.test.TestCase
--
You received this message because you are subs
very very soon.
Yours, Russ Magee %-)
http://groups.google.com/group/django-users/browse_frm/thread/617457f5d62366ae/05f0c01fff0b9e6d?hl=en&lnk=gst&q=2.6.5#05f0c01fff0b9e6d
On Apr 24, 1:18 pm, "eka (Esteban)" wrote:
> Hi all,
>
> I'm trying to bui
Hi all,
I'm trying to build a test for a view that's decorated with
@login_required, since I failed to make it work, I did a simple test
and still can't make it pass.
Here is the code for the simple test and the view:
def test_login(self):
user = self._create_new_user()
self.assertTrue(u
licationhttp://code.google.com/p/django-tracking/
>
> waqqas
>
>
>
> On Sat, Jan 2, 2010 at 4:41 PM, eka wrote:
> > Hi all,
>
> > Is there any way to know, with Django, how many concurrent connections
> > are currently open?
>
> > Regards
>
&
Hi all,
Is there any way to know, with Django, how many concurrent connections
are currently open?
Regards
Eka
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To u
Hi, Is there an autocomplete solution for Generic Foreign Keys?
Found this: http://code.djangoproject.com/wiki/AutoCompleteSolutions
But they don't work.
Regards
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Been looking at http://code.google.com/p/django-ajax-selects/ and
seems to be good. One thing though is I don't seem to understand if I
can apply that on a GenericStackedInline.
Any tip is appreciated.
Regards
Eka
--
You received this message because you are subscribed to the Google G
Tried that but since the init of tinymce is done in a string and later
encoded to JSON the JS function never get to be a JS function...
Or maybe I'm missing something.
Regards
On Oct 21, 7:07 am, Joost Cassee wrote:
> On 20 okt, 00:54, eka wrote:
>
> > Is there any way to
Hi,
Is there any way to achieve this with django-tinymce?
http://tinymce.moxiecode.com/examples/example_20.php
I tried configuring it, but seems to not like the way I pass the
function.
Any clues?
--~--~-~--~~~---~--~~
You received this message because you are s
The problem was that I was overriding the save_model method on the
InlineAdmin instead of on the ModelAdmin itself.
Now is being called...
Cheers. and thanks!
On Oct 15, 11:16 am, eka wrote:
> DR:
>
> Yes your are right. My bad... still my one is not being called.
>
> H
race()
super(LocatedItemStackedInline, self).save_form(request, form,
change)
On Oct 15, 11:13 am, Daniel Roseman wrote:
> On Oct 15, 2:58 pm, eka wrote:
>
> > Hi all
>
> > I need to override the ModelAdmin save_model and I found out that is
> > not being called. I che
Also overriding the Model.save is not an option since I need to use
the request object that is passed to the save_model method cause I
have some stuff in the request I need to use.
Any clue?
On Oct 15, 11:07 am, eka wrote:
> But is there any reason why I can't use that one? Is docum
But is there any reason why I can't use that one? Is documented :P
On Oct 15, 11:05 am, Bayuadji wrote:
> Hi,
>
> You could override save on Model instead.
>
> -djibon-
>
> On 10/15/09, eka wrote:
>
>
>
>
>
> > Hi all
>
> > I need to ov
o
src (versions 1.0 and 1.1).
http://docs.djangoproject.com/en/1.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model
Any clue? Is this not implemented? Bug? Or I'm missing something?
Regards
Esteban (eka)
--~--~-~--~~~---~--~~
You received this message b
ValueField, not
by those
# individual fields.
for f in fields:
f.required = False
self.fields = fields
Why is a requirement to set to False all the individual fields?
On Sep 30, 2:21 pm, eka wrote:
> Update:
>
> If I pass required=False to the fiel
od, but I thing this change is a better
option.
Any comments?
Regards
On Sep 30, 2:08 pm, eka wrote:
> Hi All.
>
> When using MultiValueField if I set required=False in my field Any of
> the form fields can be empty, but if required is default to True, None
> of the field can
Hi All.
When using MultiValueField if I set required=False in my field Any of
the form fields can be empty, but if required is default to True, None
of the field can be empty or blank... isn't there a middle ground?
In the case where I'm using 2 fields and I wan't only the first to
allow blank v
base for your
> admin
> classes to provide admin integration (permission enforcement and
> permission editing)
>
> On Sep 10, 12:56 pm, eka wrote:
>
> > Yes... the important thing in my case is that Images has no owner,
> > they are imported from an external system.
&
Vim + RopeVim + Omincompletion + taglist + tasklist + python_fn
On Sep 10, 8:30 am, slafs wrote:
> Vim
> with omnicompletion (CTRL+X, CTRL+O), filetype=htmldjango, TList and
> NERDTree
>
> Regards
>
> On Sep 9, 9:31 am, Benjamin Buch wrote:
>
> > I second that.
>
> > > Vim
--~--~-~--~--
unt.domain_set.get(). If it throws an error, it
> doesnt exist or isnt owned by that account. This stops url manipulation
> as far as I can tell.
>
> Sean
>
> On Wed, 2009-09-09 at 16:37 -0700, eka wrote:
> > Hi all..
>
> > Is there any way to assign permissions to an i
Hi all..
Is there any way to assign permissions to an instance of a model
instead of to a model itself?
Example:
I have a model for Files so john can (view) file 1, 5 and 6 but not
the rest
Regards
Eka
--~--~-~--~~~---~--~~
You received this message because
Check that you have python-sqlite2 installed
http://oss.itsystementwicklung.de/trac/pysqlite/
On Aug 31, 6:14 pm, Franck Y wrote:
> Hello
> I had the install going pretty well but when i do
> python manage.py syncdb
>
> i got this error message
>
> python manage.py syncdb
> Traceback (most re
Hi all.
I have this question on when one is preffered over another. I mean
overriding save or using signals like post_save or pre_save.
cheers.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hi all,
How can I make my TextMate to autocomplete django?
I have django on my site-packages.
Eclipse with pydev has a pythonpath for each project, can't find
something like that for TextMate.
Regards
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
Any one knows if the newforms-admin branch of the django-tagging
project is merged in the trunk? or they will continue to update on
that branch?
Regars.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django us
Doesn't seem to work
On Jul 21, 4:56 pm, slav0nic <[EMAIL PROTECTED]> wrote:
> try admin.site.unregister(FlatPage) befor register it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
The problem is
class FlatPageAdmin(admin.ModelAdmin):
inline = [
SearchKeywordInline,
]
its inlines instead of inline...
but still i have to unregister and the register flatpages and that
breaks some other things
any better solution?
On Jul 21, 5:53 pm, eka <[EM
Hi,
Im reading the book 'Practical Django Projects', and trying to make it
work with latest changes in Django SVN
I'm trying to use edit inline (this is very new to me) with FlatPages
and when I do the following
from django.contrib import admin
from cms.search.models import SearchKeyword
from dj
On Jul 21, 6:11 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 21-Jul-08, at 1:53 PM, Hussein B wrote:
>
> > Well, I know this question isn't related to Django but I hope it is ok
> > to ask.
> > What are your favourite Python resources?
>
> diveintopython - and the django book is outdate
HI all,
Just testing the Flatpages functionality out of django and found out
that when the default.html template is missing, the error is not
showing on the default django error way, but a simple stack error.
Don't know if this is a bug. I'm using 0.97-pre-SVN-8012.
My flat page work well when p
Hi
I'm installing it from SVN and got "You don't have permission to edit
anything", I made it work before, but now when I try to follow the
book can't. Could you tell me what should I add to have full
permissions?
Regards
On Jul 20, 7:43 am, "Jon Atkinson" <[EMAIL PROTECTED]> wrote:
> On Sun, Ju
admin.autodiscover() in the urls.py did the trick.
Thanks for the answers.
On Jul 20, 10:21 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 20, 2008 at 9:11 AM, eka <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > I'm installing it fro
'The' book -> Django book
On Jul 20, 11:07 am, eka <[EMAIL PROTECTED]> wrote:
> admin.autodiscover() in the urls.py did the trick.
>
> Thanks for the answers.
>
> On Jul 20, 10:21 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
> > On
I just got a MacBook with Tiger os. Installed MacPython and got Django
from SVN. Followed the installation on how to link the django dir to
the site-packages, and in my case, since is a sym link the templates
are in the same tree that the django code, but still having this
trouble...
the path:
/
Hi,
I'm new to django, and reading around, found out that it's better to
have 2 different web servers for django and static content. How is so?
And in deployment, how should this be? I mean, should I have 2 apache
instances? or use another web server for static content or...?
Reg
45 matches
Mail list logo