Re: Django effects Python time/datetime and gives wrong time after DST update

2007-03-12 Thread Ramiro Morales
using?. See ticket #2315 and changeset [4487] for some work donde in the Windows time zone stuff front. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django Tutorial

2007-03-16 Thread Ramiro Morales
the error occurs. > Searching the ticket system and the list archives for "a2b_base64" show there have been similar reports (including four previous messages by Paul in the list :-)). The other reports seem to suggest this is something that happened to people using the MySQL backend

Re: Django Tutorial

2007-03-17 Thread Ramiro Morales
hear you found a way to avoid this problem getting in you way. I'd suggest to reopen one of the tickets and put the information to reproduce it there (it seems lak of such info lead to the closing of these reports) so it isn't lost and gets a chance of being taken in account by the core devs and/o

Re: Changing the database - attribute errors

2007-03-20 Thread Ramiro Morales
tabase modifications or have been maintaining the same shell session open from before you started these mods?. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Maintaning a private branch of Django

2007-04-04 Thread Ramiro Morales
efore. submitting a report. Regards, 1. http://code.djangoproject.com/timeline/ -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: cx_Oracle

2007-04-06 Thread Ramiro Morales
problem using trunk, please try again by doing a checkout from the branch as Jeremy Dunck suggests in another post of this thread. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: Primary key field can be empty

2007-04-25 Thread Ramiro Morales
On 4/25/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Hi list, > why can I add a record in the admin where the name field is empty, Because, as you wrote, blank and null are False? -- Ramiro Morales --~--~-~--~~~---~--~~ You received this mess

Re: Primary key field can be empty

2007-04-25 Thread Ramiro Morales
On 4/25/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Hi, > > On 4/25/07, Ramiro Morales <[EMAIL PROTECTED]> wrote: > > > Hi list, > > > why can I add a record in the admin where the name field is empty, > > > > Because, as you wrote, blank

Re: Primary key field can be empty

2007-04-25 Thread Ramiro Morales
cause it works at the admin UI level so it doesn't know about database primary keys and such. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group

Re: where to "listen" for backwards incompatible changes in trunk?

2007-05-14 Thread Ramiro Morales
the Trac timeline: http://code.djangoproject.com/search?q=backwards+incompatible&noquickjump=1&changeset=on (no RSS feed though) Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: geographical data in models

2007-05-16 Thread Ramiro Morales
project.com/browser/django/branches/gis >From what can be seen in the change log it is being actively developed/maintained. This related wiki page has some valuable information relating to geographical data tools and libraries: http://code.djangoproject.com/wiki/GeoDjango Regards, -

Re: cronjob

2007-09-18 Thread Ramiro Morales
d the env vars (PYHTONPATH in this case) you need on the crontab. HTH -- 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-use

Re: Hi,what's wrong with the runserver

2007-09-19 Thread Ramiro Morales
m a few strange things: * managemet.py does not exist on django * The error is about a "mysite" project but above thre is a \newsite\manage.py asi if the name of the project were "newsite" Are you sure that backtrace is a copy paste from the real one? Also, it s

Re: Strange error, trying to deploy Django with mod_wsgi

2007-09-24 Thread Ramiro Morales
s running as has permissions to read directories/files under the missed user's home dir?. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Index

2007-10-02 Thread Ramiro Morales
very complete documentation: http://www.djangoproject.com/documentation/model-api/#db-index Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: extends isn't working

2007-10-22 Thread Ramiro Morales
escription of how template inheritance works in the no-tutorial documentation: http://www.djangoproject.com/documentation/templates/#template-inheritance -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: _real_get_response: global name '_' is not defined

2007-10-22 Thread Ramiro Morales
llback_kwargs) > > NameError at / > global name '_' is not defined > See ticket #5795: http://code.djangoproject.com/ticket/5795 Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Dynamically load objects

2007-11-16 Thread Ramiro Morales
the right way or the > "python way". > Do you want to reimplement or do you want to use get_model()?. If the answer is the latter you might find this article helpful: http://www.b-list.org/weblog/2007/nov/03/working-models/ Regards, -- Ramiro Morales --~--~-~--~~---

Re: Django ldap, not ldap auth!

2007-11-26 Thread Ramiro Morales
g at the top of the module and the parameter to the view, both are named "ldap", you intend to call functions from the ldap module but inside the view function the ldap name is the name of request. hence the error. Regards, -- Ramiro Morales --~--~-~--~~~---~--~

Re: Re: One-To-Many doesn't return a list.

2006-09-24 Thread Ramiro Morales
Hi guys, On 9/24/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On 9/24/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > "Look, Russell! Shiny interesting thing... pay no attention to hook > > shaped object..." > > Ohh. shiny. () > > Sorry - I've been having a 'dealing

Re: No table colums, except id

2006-10-08 Thread Ramiro Morales
t should solve both problems (that really are of the same issue, when an admin view has been activated/defined for a model, the green plus shortcut appears nesides the FK field area in the admin views of the models related to it). HTH -- Ramiro Morales --~--~-~--~~~-

Re: Adding a custom field for ManyToMany

2006-10-12 Thread Ramiro Morales
ank. > > I assume I will have to do my own logic and work for this, correct? > Maybe youa re talking about this example:? http://www.djangoproject.com/documentation/models/m2m_intermediary/ Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received

Re: Combining Unique Columns

2006-10-20 Thread Ramiro Morales
ud in the documentation too: http://www.djangoproject.com/documentation/models/m2m_intermediary/ Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: unique_together

2006-10-21 Thread Ramiro Morales
id, book, chapter, from_verse, > to_verse, passage) values (1, "1", 1, 1, 2, "passage"); That´s now what Rajesh asked you to do, you are using the same PK value in both statements. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this me

Re: unique_together

2006-10-21 Thread Ramiro Morales
;, 'chapter', 'from_verse', 'to_verse',)) ? Of course yo should zap the DB and make manage.py re-create if from scratch from the models (so the additional UNIQUE constraint is set) before testing this. Good luck. > > Thanks! > > Seemant > >

Re: Brasilian fellow with charcode problem...

2006-11-04 Thread Ramiro Morales
Italo, On 11/1/06, Italo Maia <[EMAIL PROTECTED]> wrote: > [...] > ...and all my > .py files starts with > # -*- coding: utf-8 -*- > Are you really making sure the coding of these files _is_ UTF-8 as well, not just flagging them as such to the Python interpreter. Right?

Re: special characters in model

2006-12-31 Thread Ramiro Morales
_plural = 'categoriën' Also, see tickets [2]#170 and [3]#1945 HTH, Regards, 1. http://www.python.org/dev/peps/pep-0263/ 2. http://code.djangoproject.com/ticket/170 3. http://code.djangoproject.com/ticket/1945 -- Ramiro Morales --~--~-~--~~~---~--~~ You

Re: Why so slow?

2007-01-06 Thread Ramiro Morales
slowness?. 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, s

Re: Internationalization Django App on Windows XP

2007-01-23 Thread Ramiro Morales
ws in this Django Wiki page: http://code.djangoproject.com/wiki/Localization and report back your success/error to the list. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&quo

Re: Install Django

2007-01-25 Thread Ramiro Morales
n/install/#install-the-django-code y en http://www.djangobook.com/en/beta/chapter02/ Esto es válido tanto para Linux/Unix como para win32 (yo lo estoy haciendo y usando Django en ambas plataformas sin problemas). Suerte! PD: Te conozco de la lista de GrULiC -

Re: order_by not working with foreign keys:

2007-02-02 Thread Ramiro Morales
tablename.fieldname' order_by specification notation suggested by the [2]Django documentation, would it be worth to note this if the patch gets applied?. HTH 1. http://groups.google.com/group/django-developers/browse_frm/thread/731f26c0184f6cde/28181488c9dea079?ln

Re: order_by not working with foreign keys:

2007-02-02 Thread Ramiro Morales
d the updated patch to ticket #2076. 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 uns

Re: Error with Meta: unique_together

2007-02-02 Thread Ramiro Morales
confusing but it has test cases that reproduce the problem. A workaround is to put the FK first in Meta.unique_together: class Meta: unique_together = (('test', 'number'),) in you case. Regards, -- Ramiro Morales --~--~-~--~~~---~--~--

Reverse query name for field 'foo' clashes with field 'Foo.bar', why?

2007-02-03 Thread Ramiro Morales
_name argument to the definition for 'child'. ticket2536.child: Reverse query name for field 'parent' clashes with field 'Parent.child'. Add a related_name argument to the definition for 'parent'. 2 errors found. TIA for any enlightenment. -- Ramiro Mora

Re: Related "order by" problems

2007-02-04 Thread Ramiro Morales
ersions/2.4/lib/ > > python2.4/site-packages/MySQLdb/connections.py", line 35, in > > defaulterrorhandler > > raise errorclass, errorvalue > > OperationalError: (1054, "Unknown column 'site.pagerank' in 

Re: Display field name of a related object

2007-02-04 Thread Ramiro Morales
s in State.objects.all()] ['Cordoba', 'Numenor', 'Middangeard'] Please DO NOT cross post these kind of questions to the django-developers list. Regards, PS: You need to put the State model before the Store one, or use forward notation in the FK relationship on

Re: Change class name in Admin interface

2007-02-07 Thread Ramiro Morales
ame the model Categoria instead of Category, but in this special case (as it's also true with Pais) it woud be missing the accented i. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: ForeignKey, null, and schema evolution

2007-02-10 Thread Ramiro Morales
REFERENCES "program_timedivision" ("id"), -"track_id" integer NOT NULL REFERENCES "program_track" ("id"), +"track_id" integer NULL REFERENCES "program_track" ("id"), "d

¿django-es?

2007-02-13 Thread Ramiro Morales
e exciting times. Well, that was a bunch of loose ideas of things we could start. What do you think?. Regards, 1. A similar version of this message was sent the Argentinean Python Users mailing list. -- Ramiro Morales --~--~-~--~~~---~--~~ You received th

Re: Encoding problem in templates.

2006-06-03 Thread Ramiro Morales
See tickets #1715 and #170 (the comment previous to the last one of this ticket seems to be the solution to the problem). > > It looks like the problem is at gettext module, how can I avoid this. I > need to translate this site to many languages. > > Thanks in advance > > Goyo. &g

Re: "Back-to-front" LDAP Authentication

2006-06-07 Thread Ramiro Morales
n example of a pluggable LDAP auth backend that allows integrating Django apps with an existing user base maintained in a LDAP server. HTH -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Admin site/ManyToManyField problem

2006-06-08 Thread Ramiro Morales
instance/record of Tag already created?. Is this the first instance/record of Post being added?. -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: newbie: ImportError on module admin

2006-06-10 Thread Ramiro Morales
n 2.4.3 on Ubuntu (recently updated from Badger to > Drake). > All your setting seem fine. Are you running the django development web server buy running ...mysite/manage.py runserver ? If so, make sure the invocation of a bare python effectively lauches your python

m2m with 'self', limit_choice_to for excluding self

2006-06-11 Thread Ramiro Morales
ot;, line 36, in Item dependencies = models.ManyToManyField('self', symmetrical=False, related_name='blocked_items', verbose_name=_('Depends on'), null=True, blank=True, limit_choices_to=QNot(pk=id)) TypeError: __init__() got an unexpected keyword argument 'pk

Re: How install mysqldb under CentOS3 (or enable pyvault?)

2006-06-17 Thread Ramiro Morales
L/FC/CentOS?) Anyway, this is a question for another mailing list, maybe a CentOS one, a Python one or a MySQLdb one. Regards, -- Ramiro Morales --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&quo

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

2012-01-30 Thread Ramiro Morales
t 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 subscri

Re: Question regarding ticket #17062

2012-01-30 Thread Ramiro Morales
e 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, send ema

Re: default folder structure in 1.4 beta

2012-02-24 Thread Ramiro Morales
y >    urls.py > > Can anyone confirm this behavior and/or explain why this is happening? > Why two settings files? Why is there an __init__ at the manage.py > level? Why is there a urls.py file at that same level? Please make sure you've uninstalled any old version of Django befo

Re: Django 1.4b1; syncdb parameters

2012-02-28 Thread Ramiro Morales
ode. 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. -- Ramiro Mora

Re: Implementing Foreign Key without admin interface

2012-03-08 Thread Ramiro Morales
rsion 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 to django-users+unsubscr...@googleg

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

2012-03-10 Thread Ramiro Morales
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@googlegroups.com. To un

Re: Django Book

2012-04-12 Thread Ramiro Morales
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 "Django users"

Re: High Traffic

2012-04-16 Thread Ramiro Morales
On Mon, Apr 16, 2012 at 5:22 PM, Yarden Sachs wrote: > i have 9000 rows. and using mod_wsgi on apache2. what am i doing wrong? i > tried to switch to nginx+fcgi. and tried ubuntu srrver as well. same > results. > > any ideas? Do you have DEBUG=False in your settings? -- Ramiro M

Re: Automatic indexes on foreign keys

2012-04-21 Thread Ramiro Morales
ry.  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 Morales -- You received this message because you are subscribed to the Goo

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

2012-05-02 Thread Ramiro Morales
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 subscribed to the Google G

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

2012-05-03 Thread Ramiro Morales
ange, but certainly possible, it is broken. We have a test case checking that such feature works: https://github.com/django/django/blob/master/tests/regressiontests/views/tests/i18n.py#L140 Could you reduce your failing case to the simplest form and share it so we can do more research?. -- Rami

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

2012-05-04 Thread Ramiro Morales
ur 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 Google Group

Re: 1.4 on git

2012-05-05 Thread Ramiro Morales
also migrate the release tags (1.4, 1.3, ...) and the post-release maintenance branches. The plan is to have it ready in a couple of days. The repository that previously was at github.com/django/django is called now github.com/django/django-old and it has the 1.4 tag. You can clone from it if yo

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

2012-05-06 Thread Ramiro Morales
uses 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 subscribed to the Google Group

Re: 1.4 on git

2012-05-06 Thread Ramiro Morales
7;1.4' tag. IIRC you can achieve that with:: git checkout 1.4 On 5/6/12, Larry Martell wrote: > On Sat, May 5, 2012 at 7:06 PM, Ramiro Morales wrote: >> On Sat, May 5, 2012 at 8:42 PM, Larry Martell >> wrote: >>> Last month I set up a system and when I cloned dja

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

2012-05-22 Thread Ramiro Morales
ih 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 Morales 1. https://githu

Re: Installing psycopg2 for PostGreSQL as django backend using virtualenv

2012-07-14 Thread Ramiro Morales
all, one of 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"

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

2012-07-16 Thread Ramiro Morales
cs.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@googlegroups.com. To uns

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

2012-07-23 Thread Ramiro Morales
\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 "Django

Re: How well does South work in a team?

2012-08-16 Thread Ramiro Morales
entation?. 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 "Django us

Re: Virtualenv changes url reverse behaviour

2012-09-07 Thread Ramiro Morales
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@goog

Re: Missing manage.py

2012-10-04 Thread Ramiro Morales
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 desde mi dispositivo móvil Ram

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

2012-10-08 Thread Ramiro Morales
oncepts 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, send email to django

Re: Documentation Bug report

2012-10-28 Thread Ramiro Morales
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 "Django users"

Re: Splitting models.py results in table rename?

2011-08-19 Thread Ramiro Morales
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 unsubscribe

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

2011-08-21 Thread Ramiro Morales
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

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

2011-10-01 Thread Ramiro Morales
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 because you are subscribed to the Googl

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-16 Thread Ramiro Morales
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 Mor

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

2011-10-17 Thread Ramiro Morales
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 the Googl

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

2011-12-10 Thread Ramiro Morales
Alias /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 Morales -- Yo

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

2011-12-17 Thread Ramiro Morales
;/home/jmarcedwards/foobarr/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

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

2011-12-30 Thread Ramiro Morales
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

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

2011-12-31 Thread Ramiro Morales
ld 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 users" group.

Re: Django 1.5 b1 django-admin.py error

2012-11-28 Thread Ramiro Morales
produce 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 received this message beca

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

2012-12-08 Thread Ramiro Morales
ost 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 the Google Groups

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

2012-12-08 Thread Ramiro Morales
le 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-users@googlegroups.com. To unsubs

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 cannot be imported, be

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

2012-12-18 Thread Ramiro Morales
On Fri, Dec 14, 2012 at 11:06 PM, 向浩 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 are subscribed to the Google Groups "

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

2012-12-23 Thread Ramiro Morales
bly the right server name (localhost) and credentials (root/empty) so it can access such database. Great. But 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 m

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 wrote: > On Sun, Dec 23, 2012 at 6:45 AM, Praveenkumar Venkatesan > wrote: >> Hey All, >> >> I was walking through the tutorial part 1 on polls. When i executed "python >> manage.py sql polls" i got this

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)] on win > 32 > Type "

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 basic mistake. --

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 trying to troll you

Re: Missing files on a new project

2013-01-29 Thread Ramiro Morales
Ramiro Morales On Jan 28, 2013 11:03 PM, "Ricardo Diaz" 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. > > Check it about 3:11 https://www.y

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 with selenium) i get the 5

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" 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 to understand why do y

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 or decided to skip the ins

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

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

Re: Django makemessages is marking translated strings as fuzzy

2013-02-12 Thread Ramiro Morales
ne 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 are subscribed to th

Re: makemessages failing with non ascii characters in templates

2013-03-26 Thread Ramiro Morales
to 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'

Re: makemessages failing with non ascii characters in templates

2013-03-26 Thread Ramiro Morales
ch 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 message because you are subsc

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

2013-06-04 Thread Ramiro Morales
y difference is that in your case you are including 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 "Djang

Re: testing

2013-07-05 Thread Ramiro Morales
ase? 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

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

2013-07-05 Thread Ramiro Morales
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. -- Ra

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

2013-07-09 Thread Ramiro Morales
t_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+unsubscr...@googleg

<    1   2   3   4   >