he version of Django you are using.
Regards,
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubsc
oject
Other places:
starproject command documentation:
https://docs.djangoproject.com/en/1.5/ref/django-admin/#startproject-projectname-destination
Django 1.4 release notes:
https://docs.djangoproject.com/en/1.5/releases/1.4/#updated-default-project-layout-and-manage-py
--
Ramiro Mora
ge that isn't backported to a stable
branch like 1.5.x
Thanks.
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an ema
late language only supports calling methods without
arguments, and in that case the () aren't needed.
Please read this section of the documentation fully for more details:
https://docs.djangoproject.com/en/1.5/topics/templates/#accessing-method-calls
You will need to implement the or
These textual representations should be obeying what you specified with
the verbose_name* options.
Are you actually using "meta"? It should be Meta with a capital M.
Can you try that and tell us if that solves things for you?
--
Ramiro Morales
@ramiromorales
--
You received this message b
'python
models.py' but with contents
that seem to be a PNG file. And I can't open it (the image viewer
reports it is corrupt).
Also, make sur you report the versions of Django and Python you are using.
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subs
tch to
get things moving.
Thanks again.
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googl
the hypotheses ... the problem is that I can have up to 10
> parameters passed by post to the filters , and I never know which are passed
> , can be 1 , 2, 4, ... as the user makes the filter ...
>
> But doing so would take a lot of ifs , it would have many chances ...
> is there an
On Oct 10, 2013 10:02 AM, "Arnaud Delobelle" wrote:
>
> Hi Russ,
>
> Thanks for the feedback. I agree that this could possibly be integrated
into the values() method. I just used a new method in order to minimise
interference with our existing code. I'll read the 'contributing' document
then se
; File
>
"/Users/mrigal/dev/_virtualenvs/myo_1.6/src/django/django/utils/importlib.py",
> line 35, in import_module
> __import__(name)
> File
>
"/Users/mrigal/dev/_virtualenvs/myo_1.6/src/django/django/contrib/humanize/tests.py",
> line 22, in
> f
On Tue, Oct 22, 2013 at 4:33 PM, Ramiro Morales wrote:
>
> Could you give us more information about how to reproduce this? i.e. what
> tests are you trying to run? etc.
Never mind, I've reproduced it and opened ticket [1]12307.
--
Ramiro Morales
@ramiromor
On Tue, Oct 22, 2013 at 8:26 PM, Ramiro Morales wrote:
> On Tue, Oct 22, 2013 at 4:33 PM, Ramiro Morales wrote:
>>
>> Could you give us more information about how to reproduce this? i.e. what
>> tests are you trying to run? etc.
>
> Never mind, I've reproduc
sqlite3
aggregated datatime type:
Hopefully this is something you can actually use in your real project.
See
https://docs.djangoproject.com/en/1.5/topics/db/aggregation/#following-relationships-backwards
Regards,
--
Ramiro Morales
@ramiromorales
--
You received this message because y
e
clear in some recent changes to the Django docs but I'm seeing now we
missed it some places.
HTH
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiv
ut haven't correctly described
your initial problem. This doesn't make it easy to try to help you.
Also, neither .count() nor .filter() raise ObjectDoesNotExist
so that try/catch block isn´t necessary. .filter() returns
and empty queryset if no model instance matches its
criteria. M
the 1to1 relationship
between Employee and Person.
Also, see
http://docs.djangoproject.com/en/dev/ref/models/fields/#onetoonefield
http://docs.djangoproject.com/en/dev/topics/db/models/#multi-table-inheritance
http://docs.djangoproject.com/en/dev/topics/db/models/#specifying-the-parent-link-field
for the proposed fix is welcome.
--
Ramiro Morales
1. http://code.djangoproject.com/ticket/15610
--
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
dmin/base_site.html` from within the default
Django admin template
directory in the source code of Django itself into an `admin`
subdirectory of whichever
directory you're using in TEMPLATE_DIRS.
--
Ramiro Morales
--
You received this message because you are subscribed to the Google Groups
your custom backend in
AUTHENTICATION_BACKENDS is a valid one considering the python module
search path available under you Apache setup
Change the strategy you use to really subclass from
django.contrib.auth.backends.ModelBackend, etc.
Regards,
--
Ramiro Morales
--
You received this mess
n't say this is
by design or a result of gradual evolution of our test support code.
That's why I'm leaving this note here just in case we want to revisit
this at some point (although I suspect adding a flush at the end of
every test case for MySQL+MyISAM TransactionTestCase will make
erver to rely on streaming out the video, and you said no :S
>>
>> Fail.
>
> no dude, you told me to use nginx for my task which doesn't work as i
> explained... fail in understanding
>
Allf of the mailstream web server i.e. Apache, nginx and lighttpd have similar
mech
been unable to point the exact reason and how
to solve them. an additional, independent case would be of help.
Thanks,
--
Ramiro Morales
--
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..
delAdmin.
Also:
Are you using dateSent somethwere else in the dmin.py?
Remove the admin.pyc file.
--
Ramiro Morales
--
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
dea:
http://chris.improbable.org/2010/12/23/custom-admin-filters-django-124/
--
Ramiro Morales
--
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 unsubscribe f
ts for the issues you identified. although some of them might
have been already reported, you can search them in our Trac installation
filtering by Component = Internationalization.
Regards,
--
Ramiro Morales
--
You received this message because you are subscribed to the Google Groups
On Sun, Jan 30, 2011 at 7:27 AM, Miguel Araujo wrote:
> I didn't know that, that's why it was happening. I didn't post my models, as
> I wasn't sure that would help.
Btw, it's documented behavior:
http://docs.djangoproject.com/en/1.2/ref/models/querysets/#sel
> Seems to be a DJANGO Admin BUG
>>
>> > I asked in freenode, django channel and they told me that it should be
>> > a bug an I should report it
>>
>> > Thanks
>>
>> > Jorge
>
> --
> You received this message because you are subscribe
On Wed, Feb 2, 2011 at 1:08 PM, Ramiro Morales wrote:
> On Wed, Feb 2, 2011 at 12:59 PM, Jorge Kleinerman (WindBack)
> wrote:
>> Thanks
>>
>> I will try to post it there
>
> I'd suggest to do some homework first:
>
> Create a clon of your application an
ion (1.2.4 with: I10N=True and LANGUAGE_CODE = 'nl'):
> - Dates: 1 maart 2012
> - Decimals are comma separated
Regards,
--
Ramiro Morales
1. http://code.djangoproject.com/changeset/15405
--
You received this message because you are subscribed to the Google Groups
"Django u
On Wed, Feb 16, 2011 at 8:46 AM, Orgil wrote:
> Hello.
> I can not get unicode string from MSSQL.
> I have pymssql-1.0.2, freetds-0.82, ubuntu-10.10.
It seems you have sent this message to the wrong mailing list.
--
Ramiro Morales
--
You received this message because you are subs
gt;
> Generated sql:
> CREATE TABLE "books_book" (
> "id" integer NOT NULL PRIMARY KEY,
> "publisher_id" integer NOT NULL,
> )
What database engine are you using? What version of Django?
--
Ramiro Morales
--
You received this message because
odd years to
> notice this.
There is already a [1]ticket for this. I've just tried the latest patch, it
applies (with some fuzz) and works. Souyou can use that one
with the current non-jQuery-based widget.
Regards,
--
Ramiro Morales
1. http://code.djangoproject.com/ticket/9388
--
You
ment
> ImportError: No module named django.core
> [/quote]
It will be very hard to help you with such a broken paste
of the traceback you get.
What version of Django are you using?
--
Ramiro Morales
--
You received this message because you are subscribed to the Google Groups
&
gs by yourself.
One possibility would be to create a test suite that covers all your use
cases of cross-DB relationships.
--
Ramiro Morales
--
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
a separate app/module for that? A quick Google search gave me no
> usable results.
Mine found:
https://pypi.python.org/pypi/django-juno-testrunner
http://nose.readthedocs.org/en/latest/plugins/testid.html#looping-over-failed-tests
plus https://github.com/django-nose/django-nose
--
Ramiro Mora
f the tutorial then it in fact contains an
import of Http404 and it's intrdroduced together with the first piece of
code that uses it.
It's right in the views.py snippet located under the "Raising a 404 error"
section title:
https://docs.djangoproject.com/en/1.8/intro/tutorial03/
lauses
"...When used with an annotate() clause, a filter has the effect of
constraining the objects for which an annotation is calculated. For
example..."
e.g.::
Store.objects.filter(books__pubdate__year=2014).annotate(min_2014_price=Min('books__price'),
max_2014_price=Max('
On Jun 12, 2015 7:28 PM, "Shekar Tippur" wrote:
>
> Hello,
>
> I am trying to use py2neo (http://py2neo.org/2.0/ext/ogm.html).
> I am having trouble looking up a node.
Wouldn't this post be more appropriate for the py2neo users mailing list or
similar?
Just in case, you posted your message to th
Ramiro Morales
@ramiromorales
On Aug 9, 2014 7:13 PM, "Daniel Grace" wrote:
>
> I get an error in the shell when following the tutorial
> https://docs.djangoproject.com/en/1.6/intro/tutorial01/
>
> C:\Users\Daniel\My Documents\Python\DjangoTest\mysite>python manage.py
everse('article_app:article-by-slug', kwargs={'slug': a.slug})
Try with::
reverse('article_app:article-by-slug', args=[a.slug])
> # Reverse for 'article_app:article-by-slug' with arguments '()' and keyword
> arguments '{'slug':
Actually, in 1.7.x both should work.
Ilya: Can you test if using TEST_MIRROR fixes the issue you are seeing?
On Oct 26, 2014 9:19 AM, "Tom Evans" wrote:
> On Sat, Oct 25, 2014 at 5:21 PM, Ilya Baryshev wrote:
> > Hey all!
> >
> > I was writing tests for queries that use replica database, so I t
On Oct 30, 2014 8:45 PM, "Marcela Campo" wrote:
>
> Hi,
> I am using the translation functionality in Django 1.7 successfully for
plain strings in a template, so something simple like
>
> {% trans "Edit Client" %}
>
> works just fine.
>
>
> I am now trying to translate success_message from views
ext utility?
Otherwise the translations wont be picked up.
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
wat to widen the size of your terminal to to not get these
ugly line wraps.
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an e
e is my code.
> [snip]
> class PollAdmin(admin.ModelAdmin):
> ...
> inline = [ChoiceInline]
The correct option name here is 'inlines':
inlines = [ChoiceInline]
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the
rigin of the python-MySQLdb driver you are using?
AFAIK there isn't a 1.2.3 version compatible with Python 3.x. See
https://docs.djangoproject.com/en/1.6/ref/databases/#python-3
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
x27;PASSWORD': '123',
},
'other': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'other',
'USER': 'ramiro',
'PASSWORD'
guage
> selected but not in example 2.
In example 2 your translatable literal is defined and marked-up with
the translation function at the global scope of the module. In these
cases you need to use lazy translations, i.e. ugettext_lazy() instead
of ugettext().
Read the the relevant document
plate construct you
are using is from Django i18n or from Jinja.
Django template tags (including trans) aren't multi-line. There is a
ongoing discussion about this.
If you use the Django blocktrans template tag, multi-line literals are
perfectly suported by templatize():
In [1]: from django
you trying to achieve with things like this:
*in models.py I've added:*
import os
import django
os.environ["DJANGO_SETTINGS_MODULE"] = "MY_DJANGO.MY_DJANGO.settings"
django.setup()
*before the models import from django.db.*
or
*in settings.py, in INSTALLED_APPS:*
INSTALL
The detailed error page is giving you all the information you need to
diagnose the issue.
It tells you you have two paths defined in your URL map: /admin/ and
/payslip/ as per their respective documentation. So far so good.
But you are accessing / with your browser. Hence the 404 error. Try
acces
you read about that somewhere? Can you post a link?
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsu
t... instead the verbose_name
>
> These "problem" occur only when I have M2M field.. in other FK fields
> doesn't appears..
>
Can you post a simplified excerpt of the relevant (fields, Meta options,
__*__ methods) models, admin app ModelAdmin's and *Inline's
On Tue, Jul 12, 2016 at 1:44 PM, Fellipe Henrique
wrote:
>
> On Tue, Jul 12, 2016 at 1:34 PM, Ramiro Morales wrote:
>
>> Can you post a simplified excerpt of the relevant (fields, Meta options,
>> __*__ methods) models, admin app ModelAdmin's and *Inline's involve
ze db field names).
>
That was mi recollection too. But I've been unable to find it.
Regards,
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving ema
On Tue, Jul 12, 2016 at 2:42 PM, Fellipe Henrique
wrote:
> On Tue, Jul 12, 2016 at 1:52 PM, Ramiro Morales wrote:
>
>> Where the 'Conjunto de dados' seen in the screenshot title comes from? Is
>> the code you posted actually in sync with it?
>
>
> Sorry abo
>> dont think it works with shared virtualbox folders.
>>
>>
>> Is there anyway I can get this working with 2.2 can I use the old
>> reloader or do I need to revert to 2.1?
>>
>
>
Can you try the stable/2.2.x git branch? it contains a couple of post-2.1
fixes
t):
> File
> "/home/docker/.local/share/virtualenvs/dropper-TxELQAPU/lib/python3.7/site-packages/IPython/core/history.py"
> , line 780, in writeout_cache
> self._writeout_input_cache(conn)
> File
> "/home/docker/.local/share/virtualenvs/dropper-TxELQAPU/lib/python3.7/
Remember you can not juat open/report an issue and bisect the git commit
which could have introduced the change in behavior, but also, if it gets
confirmed as a real bug, you can fix it yourself so to not delay yourself
in your current project. With the nice side effect that the fix will
benefit ma
u can execute msgfmt.exe from any path on your system.
That will indicate the directory where it is located has actually and
correctly been added to the PATH environment variable.
For example, open a Command prompt window and type msfgmt.
This is more a general Windows system admin topic.
--
Ramiro Mor
s I had info :(
>>
>> CommandError: Can't find msgfmt. Make sure you have GNU gettext tools 0.15
>> or newer installed.
>>
>> What can I do more??? I have lost a few days on
>
--
Ramiro Morales
@ramiromorales
--
You received this message because you are sub
It shouldn't. Are you sure you haven't opened and saved the json file with
a text editor that might be adding the BOM, e.g. Notepad before running
loaddata?
On Apr 7, 2016 9:17 PM, wrote:
> Opening the JSON file in Notepad++ certainly gives some insight... It says
> it's encoded in USC-2 LE BOM.
Paul,
You seem to have a good grasp of the usability problem you describe and a
sound strategy to solve it. You've even researched how modern web browser
can help in improving this admin app feature.
I'm sure the project would accept a pull request implementing the changes
you outline. Or if not,
ail.com
> <https://groups.google.com/d/msgid/django-users/CABD5YeG8ezgQpM7uHmVGsKMrQnw5OArZTf%3DHYTkar7s4QdHt2Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
Ramiro Morales
@ramiromorales
--
You received this message because you are subscribed to the Google Groups
"
301 - 364 of 364 matches
Mail list logo