Re: Problem Django.19 upgrade and circular imports

2016-03-08 Thread Andres Osinski
Does Django support apps that reside in submodules or have I been depending on broken behavior? On Fri, Mar 4, 2016 at 5:16 PM, Andres Osinski <andres.osin...@gmail.com> wrote: > The thing is that in my case, I have a model in the 'accounts' app which > inherits from a model in '

Re: Problem Django.19 upgrade and circular imports

2016-03-04 Thread Andres Osinski
. I'll try with older versions in 1.8 and report back. On Thu, Mar 3, 2016 at 10:11 PM, James Schneider <jrschneide...@gmail.com> wrote: > On Thu, Mar 3, 2016 at 3:28 PM, Andres Osinski <andres.osin...@gmail.com> > wrote: > >> Hi everyone! I'm having an issue with cir

Problem Django.19 upgrade and circular imports

2016-03-03 Thread Andres Osinski
Hi everyone! I'm having an issue with circular imports in Django 1.9 that I have not seen in my app, which had been running 1.7 before. I have a Django app in apps.common, which has its associated apps.common.models too. No imports on __init__.py or anything of the sort. When I my app in

Re: Pluggable crowdfunding django apps

2014-04-15 Thread Andres Osinski
I have a small crowd funding app that I made bit too long ago, which is useful by itself but could easily be modularized for more generic use cases. Shoot me an email later to remind me to upload the code to GitHub. El abr 2, 2014 6:51 PM, "Raymond Besiga" escribió: > Hello

Re: Admin for proxy model for custom User

2013-05-29 Thread Andres Osinski
I omitted the code from the sample, but I do have that. The issue seems to be that when the admin page loads, it's neither hitting the deafault get_queryset() method in the ModelAdmin, not hitting the proxy model's default manager methods. This is likely to be a bug. On Tue, May 28, 2013 at 11:35

Admin for proxy model for custom User

2013-05-28 Thread Andres Osinski
Hi everyone, I've created a custom User model and reated a proxy for it, like this: class User(AbstractUser): USER_KINDS = ( ('d', 'doctor'), ('p', 'patient') ) kind = models.CharField(max_length=2, choices=USER_KINDS) class DoctorManager(BaseUserManager): def

Re: Circular import problem

2013-04-11 Thread andres . osinski
You should always consider that circular imports may indicate problems with how you structured your applications and/or models, however, if you're left with no choice, you can have an import statement inside a function, which generally solves most of these issues. Enviado desde mi BlackBerry de

Re: Looking for a job in the Arctic Circle

2011-09-30 Thread andres . osinski
You can also go to the (literal) polar extreme and consider something in Antarctica or Tierra del Fuego, in Chile or Argentina. There are many countries that need qualified technical staff for their research/military bases in Antarctica. As for Chile and Argentina, both require highly qualified

Re: More than one project using the same database

2011-06-30 Thread andres . osinski
In theory, unless you've disabled transactions, the database should be able to manage all contention issues. Enviado desde mi BlackBerry de Movistar (http://www.movistar.com.ar) -Original Message- From: ALJ Sender: django-users@googlegroups.com Date: Thu, 30

Setting up spatialite

2010-04-26 Thread andres osinski
Hi everyone. I've been trying (unsuccessfully) to get SQLite support for Geodjango running on my machine. I havd Django 1.1 and a SQLite database where I'm trying to sync my models. I installed spatialite from Ubuntu's repository, built SQLite and pysqlite 2.6.0 from source, and added the Google

Re: GUI builder for django

2010-04-21 Thread andres osinski
No, and it's not a good idea to do WYSIWYG development for HTML. HTML is not a format that produces static content; it varies depending on screen fonts, browser, and platform, and getting that right means sticking to relative layout, making content flow, and taking care of quirks. WYSIWYG editors