Re: Possible Django bug I am considering raising

2020-06-05 Thread Ramiro Morales
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

Re: pip install Django==3.0

2019-12-02 Thread Ramiro Morales
ps://groups.google.com/d/msgid/django-users/CABD5YeG8ezgQpM7uHmVGsKMrQnw5OArZTf%3DHYTkar7s4QdHt2Q%40mail.gmail.com?utm_medium=email_source=footer> > . > -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: Bugs: cannot start runserver since Django 2.2.2

2019-06-05 Thread Ramiro Morales
envs/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/site-packages/IPython/core/history.py" > , line

Re: Autoreloader looping Django 2.2

2019-04-29 Thread Ramiro Morales
hink 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 to the reloadi

Re: Handling multiple timezones in Django Admin

2018-10-02 Thread Ramiro Morales
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

Re: django-admin makemessages --no-obsolete doesn't seem to be working

2018-03-19 Thread Ramiro Morales
essages command. Did 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

Re: django-payslip

2018-01-21 Thread Ramiro Morales
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

Re: Failing to configure Django correctlly (conflict in settings between models.py and manage.py usage).

2018-01-05 Thread Ramiro Morales
quot;] = "MY_DJANGO.MY_DJANGO.settings" django.setup() *before the models import from django.db.* or *in settings.py, in INSTALLED_APPS:* INSTALLED_APPS = [ ... ==>>>>'MY_DJANGO.my_django', or 'my_django', <<<<===== Here is the problem ] *Also tried

Re: How can I change the TabularInline "title" on Django Admin?

2016-07-13 Thread Ramiro Morales
On Tue, Jul 12, 2016 at 2:42 PM, Fellipe Henrique <felli...@gmail.com> wrote: > On Tue, Jul 12, 2016 at 1:52 PM, Ramiro Morales <cra...@gmail.com> wrote: > >> Where the 'Conjunto de dados' seen in the screenshot title comes from? Is >> the code you posted actuall

Re: How can I change the TabularInline "title" on Django Admin?

2016-07-13 Thread Ramiro Morales
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 emails from

Re: How can I change the TabularInline "title" on Django Admin?

2016-07-12 Thread Ramiro Morales
On Tue, Jul 12, 2016 at 1:44 PM, Fellipe Henrique <felli...@gmail.com> wrote: > > On Tue, Jul 12, 2016 at 1:34 PM, Ramiro Morales <cra...@gmail.com> wrote: > >> Can you post a simplified excerpt of the relevant (fields, Meta options, >> __*__ methods) models, adm

Re: How can I change the TabularInline "title" on Django Admin?

2016-07-12 Thread Ramiro Morales
and *Inline's involved which result in the layout depicted in the screenshot you posted? 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

Re: Problems with dumpdata/loaddata

2016-04-08 Thread Ramiro Morales
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

Re: install gettext tools 0.15

2015-10-30 Thread Ramiro Morales
.py >> compilemessages 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

Re: install gettext tools 0.15

2015-10-30 Thread Ramiro Morales
few days on Make sure you 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

Re: py2neo - how to get a node

2015-06-12 Thread Ramiro Morales
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

Re: annotate() questions

2015-04-16 Thread Ramiro Morales
yset-clauses "...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('books_

Re: Tutorial missing import: Http404

2015-04-10 Thread Ramiro Morales
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/#raising-a

Re: Re-run only tests that failed last time

2015-03-24 Thread Ramiro Morales
f I have > to install 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/djan

Re: translation of view messages and business related messages not working

2014-10-30 Thread Ramiro Morales
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

Re: TEST_MIRROR not working?

2014-10-26 Thread Ramiro Morales
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

Re: django-cms apphook urls don't work with reverse() using Python shell

2014-08-19 Thread Ramiro Morales
cle_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': 'this-is-article-1'}' not found. Regards, -- Ramiro Morales @ra

Re: Error in shell when following Django tutorial

2014-08-09 Thread Ramiro Morales
Ramiro Morales @ramiromorales On Aug 9, 2014 7:13 PM, "Daniel Grace" <danwgr...@gmail.com> 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\DjangoTes

Re: Seems to be a bug in makemessages management command

2014-05-31 Thread Ramiro Morales
ort templatize In [2]: templatize("""{% blocktrans %}foo bar baz {% endblocktrans %}""") Out[2]: " gettext(u'foo\\nbar\\nbaz\\n') SSS\nSSS\nSSS\n" In [3]: -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups

Re: django ugettext translation glitch or as designed?

2014-05-30 Thread Ramiro Morales
e 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 documentation carefully for the details: https:

Re: syntax usage for the Database name ??

2014-05-14 Thread Ramiro Morales
resql_psycopg2', 'HOST': '', 'NAME': 'other', 'USER': 'ramiro', 'PASSWORD': '123', } } HTH -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Incorrect SQL

2014-03-22 Thread Ramiro Morales
n 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 "Django

Re: I nedd help - first Django app, part 2 - Admin - Adding related objects

2014-01-27 Thread Ramiro Morales
ices. > Here 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

Re: Exception on start django server in windows 7

2014-01-20 Thread Ramiro Morales
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 email to d

Re: Translation from templates doesn't work.

2013-11-24 Thread Ramiro Morales
ango command or the msgfmt GNU gettext 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

Re: Startproject failing on Django 1.6

2013-11-13 Thread Ramiro Morales
make more 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 receiving

Re: difference in datetime aggregation when using sqlite3 instead of mysql

2013-10-26 Thread Ramiro Morales
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 you are subscribed to the Google Groups "Django users"

Re: Django 1.6b4 fails to run tests with runner test.simple trying to import TransRealMixin

2013-10-22 Thread Ramiro Morales
On Tue, Oct 22, 2013 at 8:26 PM, Ramiro Morales <cra...@gmail.com> wrote: > On Tue, Oct 22, 2013 at 4:33 PM, Ramiro Morales <cra...@gmail.com> wrote: >> >> Could you give us more information about how to reproduce this? i.e. what >> tests are you trying

Re: Django 1.6b4 fails to run tests with runner test.simple trying to import TransRealMixin

2013-10-22 Thread Ramiro Morales
On Tue, Oct 22, 2013 at 4:33 PM, Ramiro Morales <cra...@gmail.com> 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 @ramiromo

Re: Django 1.6b4 fails to run tests with runner test.simple trying to import TransRealMixin

2013-10-22 Thread Ramiro Morales
_MODULE])) > 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

Re: Extension to QuerySet.values()

2013-10-10 Thread Ramiro Morales
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

Re: Query parameters for receiving post

2013-10-08 Thread Ramiro Morales
way ? > Someone can help me ? I can't thes this now but hopefully something similar to thois could be of help: https://dpaste.de/FTnt -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

Re: So this needs to be fixed

2013-09-06 Thread Ramiro Morales
Bonus points if you have solutions to these issues and post a patch 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 rece

Re: [] error

2013-08-26 Thread Ramiro Morales
ached a file named '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

Re: Model verbose name appears to split up on capitalisation (e.g. "iOS") - any way to suppress this?

2013-08-14 Thread Ramiro Morales
iour? 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 receive

Re: Exception Value: Could not parse the remainder: '().order_by('-votes')' from 'poll.altword_set.all().order_by('-votes')'

2013-08-07 Thread Ramiro Morales
yer and invoke it from the template layer. 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+un

Re: label_tag() escapes output twice

2013-07-19 Thread Ramiro Morales
the kind of change 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

Re: Django Project/App Folder Hierarchy Ambiguity

2013-07-12 Thread Ramiro Morales
ing-a-project 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 -- Ra

Re: Django Project/App Folder Hierarchy Ambiguity

2013-07-12 Thread Ramiro Morales
lso the 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+uns

Re: Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-09 Thread Ramiro Morales
_noop and npgettext_noop. Is this the correct approach? -- 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+uns

Re: django1.5 - url resolver vs i18n_patterns : wrong behaviour

2013-07-05 Thread Ramiro Morales
ways published at /admin/ and the URLs of the 'apps.other' app with an 'apps.other.urls' included urlconf plus views are always prefixed by the language code (e.g. /en/other/hello/ or /es-ar/other/hello/) There seems to be something else at play in your setup that is causing the problem. -- Ramir

Re: testing

2013-07-05 Thread Ramiro Morales
al' database? Documentation is clear in this case: - The only DB fixtures leaded automatically on syncdb are the ones named 'initial_data' - You should explicitly specify the names of the DB fixtures you want loaded for a given test case. So there are two safety nets there. You need to break them

Re: django1.5 - url resolver vs i18n_patterns : wrong behaviour

2013-06-04 Thread Ramiro Morales
the admin dynamic, namespaced url map so laying with some variation there would be a good way to get further. Regards, -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: makemessages failing with non ascii characters in templates

2013-03-26 Thread Ramiro Morales
ave information about which template file is the one triggering the issue. it would be great if you could isolate it and create a simple test case. Non ASCII characters in non-comment template content should be handled transparently. -- Ramiro Morales @ramiromorales -- You received this mess

Re: makemessages failing with non ascii characters in templates

2013-03-26 Thread Ramiro Morales
a supported version (1.3 isn't for this kind of fixes) or apply this fix manually: https://github.com/django/django/commit/0defa7dc9dc97a11baea3b91158fbc7c57e5c3a6 Django versions 1.4 or newer already include it. As a general rule, if you find a problem with an ancient version it's better to tes

Re: Django makemessages is marking translated strings as fuzzy

2013-02-12 Thread Ramiro Morales
s?, template files? One hypothesis: Is it possible "Save Changes" also appears as the singular literal of a singular/plural construct (ungettext() calls or {% blocktrans %}...{% plural %}...{% endblocktrans %} tags)? -- Ramiro Morales @ramiromorales -- You received this message because you ar

Re: django-admin.py and manage.py both fail in dev

2013-02-10 Thread Ramiro Morales
uting the manage.py script you will get afterward. e.g.: mysite> C:\python27\python manage.py startapp my1stapp Regards, -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Re: Polls tutorial receive object not object representation

2013-02-01 Thread Ramiro Morales
On Jan 27, 2013 10:58 PM, "Sayth Renshaw" wrote: > > Now the only thing is that when I call p.choice_set.all() I don't get the representation 'The sky' or 'Just Hacking again' . I receive choice object itself. Is this normal? That happens because you seem to hsve missed

Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Ramiro Morales
Ramiro Morales On Jan 29, 2013 12:33 PM, "Alessandro Pelliciari" <isac.new...@gmail.com> wrote: > > thanks for the link! > > So Isn't there a way to set DEBUG=True in tests? No. There isn't (at least with the built-in testing toolbox). Now, I'm trying t

Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Ramiro Morales
On Jan 29, 2013 9:57 AM, "Alessandro Pelliciari" wrote: > > Hi, I'm writing some tests with Selenium. > > When i run my selenium tests (LiveServerTestCase type) and i have some error in my code (not in the test, i mean in the code executed, like the homepage view i reach

Re: Missing files on a new project

2013-01-29 Thread Ramiro Morales
Ramiro Morales On Jan 28, 2013 11:03 PM, "Ricardo Diaz" <ricardotk...@gmail.com> wrote: > > Well, i'm following a video tutorial -> this guy is using Django 1.4 and when he uses startmanager on shell Django creates all of those files on the main folder. >

Re: Python shell doesn't launch

2012-12-26 Thread Ramiro Morales
On Dec 26, 2012 7:46 PM, wrote: > > You know what? I didn't "expect" anything because I HAVEN'T DONE THIS > BEFORE That is why I am doing an introductory tutorial. Thanks, Ramiro - > highly intelligent answer. Ryan - you are a professional. Wait. Why do you assume I was

Re: Stuck

2012-12-26 Thread Ramiro Morales
On Dec 26, 2012 5:56 PM, wrote: > > This is strange - the original code is indented correctly; however, the copy/paste shows incorrect indentation. This could happen if you mix spaces andás tabs. Read some introductory Python material to know more why this is a bad idea and a

Re: Python shell doesn't launch

2012-12-26 Thread Ramiro Morales
On Dec 26, 2012 7:05 PM, wrote: > > Whenever I run "python manage.py shell," I don't get any errors, but I get the following: > > C:\Python27\Lib\site-packages\django\bin\mysite>python manage.py shell > Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]

Re: django.db.utils.DatabaseError: (1046, 'No database selected')

2012-12-23 Thread Ramiro Morales
On Sun, Dec 23, 2012 at 12:59 PM, Ramiro Morales <cra...@gmail.com> wrote: > On Sun, Dec 23, 2012 at 6:45 AM, Praveenkumar Venkatesan > <praveev...@gmail.com> wrote: >> Hey All, >> >> I was walking through the tutorial part 1 on polls. When i executed &

Re: django.db.utils.DatabaseError: (1046, 'No database selected')

2012-12-23 Thread Ramiro Morales
there is a crucial link missing. You haven't told Django you want it to use that database fotr this project/application. That's what the NAME setting above is for. Use it. The eror message isn't as clear as one would wish, I think it's generated by the MySQL low level driver. But it points in the ri

Re: 【HELP】AttributeError: 'AdminSite' object has no attribute 'urls'

2012-12-18 Thread Ramiro Morales
ning an older version? On Fri, Dec 14, 2012 at 11:06 PM, 向浩 <ambih...@gmail.com> wrote: > Environment: > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/ > Django Version: 1.0.4 > Python Version: 2.7.3 -- Ramiro Morales -- You received this message because you

Re: error message on runserver locally

2012-12-15 Thread Ramiro Morales
On Dec 15, 2012 11:30 AM, "Phil" wrote: > > Hi, > > I had django setup and working for over a year now working with it on and off. I was away for a month, came back and now whenever I run "django-admin.py runserver 8080" I get the following error... > > ImportError: Settings

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-08 Thread Ramiro Morales
settings.py Is it possible that you somehow are importing/including/referencing /etc/apache2/https from settings.py? -- 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-

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-08 Thread Ramiro Morales
need to review or post the /home/easyi/.virtualenvs/tomw/project/tomw/wsgi.py file. According to the traceback it has in line 4 a reference to a /etc/apache2/https or /etc/apache2/https: file that doesn't exist. -- Ramiro Morales -- You received this message because you are subscribed to th

Re: Django 1.5 b1 django-admin.py error

2012-11-28 Thread Ramiro Morales
go-admin.py? I've just tried to reproduce this based on ther rather sparse description you've given us and I don't seee these problems. Please expand the decription of your setup, particularly the "I just downloaded" part. I see you are using a virtualenv. -- Ramiro Morales -- You receiv

Re: Documentation Bug report

2012-10-28 Thread Ramiro Morales
w hours ago. I will fix it now and hopefully it will be reflexted in the downloadable content soon. This is in the master branch (nascent 1.6). The 1.5 stabilization branch shoudn't be affected. -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups

Re: Problem with URL configuration - cannot use absolute URLs in my case

2012-10-08 Thread Ramiro Morales
tor lately to make presentation of these concepts more clear and because there hasn't been significant changes in this functionality since Django 1.4. HTH -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Missing manage.py

2012-10-04 Thread Ramiro Morales
To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Enviado desd

Re: Virtualenv changes url reverse behaviour

2012-09-07 Thread Ramiro Morales
time on StackOverflow and four times on this thread and haven't provided that rather basic piece of information. -- 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-users@googlegr

Re: How well does South work in a team?

2012-08-16 Thread Ramiro Morales
Have you read South documentation?. Because part 5 of the tutorial has an entire section devoted precisely to this topic: http://south.readthedocs.org/en/latest/tutorial/part5.html#team-workflow -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups &qu

Re: django-admin.py startproject mysite... this command does nothing for me

2012-07-23 Thread Ramiro Morales
hon C:\Python27\Scripts\django-admin.py startproject foo The basic concepts will always work. The above techniques will allow you to execute script in any interpreted language on any platform. HTH -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups

Re: m2m through intermediate model: template friendly syntax not working. dj1.3

2012-07-16 Thread Ramiro Morales
anyfield and https://docs.djangoproject.com/en/1.4/topics/db/models/#intermediary-manytomany will be of great help. -- 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-users@googlegro

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Ramiro Morales
f the advantages of using a virtualenv is that you don't need o be a system admin because you don`t want to/can't touch the globali system-wide installation. -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: Time zone support enabled in Django 1.4, yet "Django does not support timezone-aware times"

2012-05-22 Thread Ramiro Morales
a problem because of whcih the files form the previous installation aren't overwritten and you end with a broken mix of things. The documentation has recently been [1]amended with instructions on how to avoid this. Please use the [2]updated section in the relevant document. HTH -- Ramiro Mora

Re: 1.4 on git

2012-05-06 Thread Ramiro Morales
' tag. IIRC you can achieve that with:: git checkout 1.4 On 5/6/12, Larry Martell <larry.mart...@gmail.com> wrote: > On Sat, May 5, 2012 at 7:06 PM, Ramiro Morales <cra...@gmail.com> wrote: >> On Sat, May 5, 2012 at 8:42 PM, Larry Martell <larry.mart...@gmail.com> >

Re: Main app name with a startproject template (1.4)

2012-05-06 Thread Ramiro Morales
main app" because it confuses things even further. A good idea would be to use the same terms used in the documentation of the startproject command. And please keep this topic on this list that's where it belongs. Regards, -- Ramiro Morales -- You received this message because you are subscrib

Re: 1.4 on git

2012-05-05 Thread Ramiro Morales
clone from it if you can't wait. Regards, -- 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-users@googlegroups.com. To unsubscribe from this group, send email to django-use

Re: Why does django use mysqldb over mysql-connector?

2012-05-04 Thread Ramiro Morales
in your platform. It is really nasty that in 2012 you need to install the binaries of a database server to be able to install the client-side drivers of a programming language. This is a problem solved decades ago. -- Ramiro Morales -- You received this message because you are subscribed to the

Re: i18n - local translation does not show up - bug

2012-05-03 Thread Ramiro Morales
o more research?. -- 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-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com

Re: i18n - local translation does not show up - bug

2012-05-02 Thread Ramiro Morales
by surprise) and/or can read the Fine Manual where the decprecation and the steps you need to take are (and have been since Django 1.3 Apr 2011) documented. Two hints: The Django 1.3 release notes and the LOCALE_PATHS setting. -- Ramiro Morales -- You received this message because you are s

Re: Automatic indexes on foreign keys

2012-04-21 Thread Ramiro Morales
h, okay.  Yes, this would definitely improve performance of that > query.  But why the second index (varchar_pattern_ops in postgresql)? See this ticket https://code.djangoproject.com/ticket/12234 and the commit that fixed it: https://code.djangoproject.com/changeset/11912 -- Ramiro Moral

Re: High Traffic

2012-04-16 Thread Ramiro Morales
alse in your settings? -- 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-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegrou

Re: Django Book

2012-04-12 Thread Ramiro Morales
l get any official word about book updates here. Fortunately there is at least one book from a community member (Reinout van Rees) in the works: http://reinout.vanrees.org/weblog/tags/book.html Regards, -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups

Re: Bump to Django 1.4rc1 causes near doubling of test run time

2012-03-10 Thread Ramiro Morales
. Do you use the DB? To which degree? If yes, what database? MySQL, sqlite, etc. If MySQL, which storage engine?, etc. -- 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-users@go

Re: Implementing Foreign Key without admin interface

2012-03-08 Thread Ramiro Morales
te working code, an abridged version but working code. -- 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-users@googlegroups.com. To unsubscribe from this group, send email

Re: Django 1.4b1; syncdb parameters

2012-02-28 Thread Ramiro Morales
and y calling it from Python code. A valid use case. Perhaps an addition to the release notes would be helpful. Now, the mentioned cleanup was performed well before the 1.4 alpha (Dec 27 2011): 1 Oct 23 2011 so I don't understand how you are seeing the change in behavior between alpha1 and beta1.

Re: default folder structure in 1.4 beta

2012-02-24 Thread Ramiro Morales
installed any old version of Django before performing a clean installation of 1.4 beta1. -- 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-users@googlegroups.com. To unsubscribe f

Re: Question regarding ticket #17062

2012-01-30 Thread Ramiro Morales
wasn't able to tell from the changeset page. Yes, it will be in 1.4 -- 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-users@googlegroups.com. To unsubscribe from this group, se

Re: Tutorial for dev version not working (Polls app): admin

2012-01-30 Thread Ramiro Morales
import admin 03 04 class PollAdmin(admin.ModelAdmin): 05 fields = ['pub_date', 'question'] # or the order you want to use 06 07 admin.site.register(Poll, PollAdmin) Are you sure you are doing that? -- Ramiro Morales -- You received this message because you are subscribed to the Google Group

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Ramiro Morales
t is abut you should make sure you execute it with the Python interpreter. Forget about trying to simple invoke django-admin (or django-admin.py) as a standalone program. Good luck. -- Ramiro Morales -- You received this message because you are subscribed to the Google Groups "Django us

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Ramiro Morales
ter binary should process and execute it (like the #!/path/to/python line in Unix). There are a handful of third party solution and tricks (like the ones you tried) but from the number of times this topic appears in mailing lists IMHO it is evident they only muddle the landscape and/or break things. Regar

Re: Problem re-creating SQLite database with manage.py...

2011-12-17 Thread Ramiro Morales
obarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/db/mysql.py", line 38, in connection_init cursor = self._get_connection().cursor() Note the python module it mentions is /south/db/mysql.py, that's what tracebacks are great for, if you read them you quickly can get

Re: static file problem with modwsgi+ apache2 with django1.3

2011-12-10 Thread Ramiro Morales
lias /static/ /home/jisson/Desktop/testcloud.aws/DjangoApis/static/ (see https://docs.djangoproject.com/en/1.3/howto/deployment/modwsgi/) but the fact that all the error log entries are about subdirectories of the static dir (js, images) but no about actual static files is a bit strange. -- Ramiro

Re: Tutorial help: Make the poll app modifiable in the admin

2011-10-17 Thread Ramiro Morales
and then edit the paceholder models.py file inside it adding the Poll and Choice model definitions? 2. Make sure you don't remove the __init__.py file inside that polls/ subdir 3. Are you effectively using Django 1.3? -- Ramiro Morales -- You received this message because you are subscribed to

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-16 Thread Ramiro Morales
en selector in the lower right corner of all the documentation pages that shows and controls what version you are reading. Maybe we can try to make it even more visible but I'm afraid we are running out of ideas for this persistent problem some users keep running into. Regards, -- Ramiro M

Re: `manage.py syncdb` fails, but what does the error mean?

2011-10-01 Thread Ramiro Morales
owy/ appear as locations of the snowy app. Perhaps you created a virtualenv with a copy of the app there but already have a global one?. Also, is seems the app ships a copy of several third party django apps (like south) inside their lib/ subdir. -- Ramiro Morales -- You received this message be

Re: FW: MySQLdb version doesn't match _mysql version

2011-08-21 Thread Ramiro Morales
You seem to have a a corrupt copy because both pieces are released together, and when a correct installation has been performed, they are built and installed together with matching version IDs. You might find better answers in a mailing list or IRC channel devoted to mysqldb. This isn't a Django -related or -

Re: Splitting models.py results in table rename?

2011-08-19 Thread Ramiro Morales
need a small additional detail: https://docs.djangoproject.com/en/1.3/ref/models/options/#app-label -- 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-users@googlegroups.com. To u

Re: TransactionTestCase and Fixture Teardown

2011-07-11 Thread Ramiro Morales
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 it even slower). -- Ra

  1   2   3   4   >