Re: Alternative to django-registration (unmaintaned since September 2013)

2014-07-24 Thread Oscar Carballal
Same for me in my personal projects and in our company, we fully switched to django-allauth and we are quite happy Regards, Oscar -- Oscar Carballal Prego - Senior Software Developer http://oscarcp.com | @pizte 2014-07-23 8:15 GMT+01:00 Santiago L <santiago.lam...@gmail.com>: > El s

Re: django-stdimage NoneType problem

2013-10-29 Thread Oscar Carballal
Oops, sorry Russell, the affected code is here (branch mistake): https://github.com/cidadania/e-cidadania/blob/python3/src/core/spaces/models.py 2013/10/30 Oscar Carballal <piz...@gmail.com> > Thanks Russell, I actually see a comma after the None... I'm not sure what > you'

Re: django-stdimage NoneType problem

2013-10-29 Thread Oscar Carballal
asses, and that value changed between 1.5.5 and 1.6rc1, > then it's possible you might start getting errors. > > I wouldn't read too much into where ipdb stops -- if you look at the > stack, it's stopped at the first frame in your own code (2 frames up from > where ./manage.py dumped

django-stdimage NoneType problem

2013-10-28 Thread Oscar Carballal
Hi, I'm starting to port my project (e-cidadania) into python 3 and django 1.6rc1, but I'm currently facing a problem that I can't understand. When I try to do a runserver or a syncdb or any other command, it breaks with this message: ➜ src git:(python3) ✗ ./manage.py syncdb TypeError:

Re: Access date a picture was taken

2013-10-19 Thread Oscar Carballal
You can do it via de PIL library, which you need to have installed for using images in Django. Take a look to the approved answer in this SO question: http://stackoverflow.com/questions/4764932/in-python-how-do-i-read-the-exif-data-for-an-image You can invoke the code for obtaining the date on

Re: Looking for experienced Django Developers

2013-10-11 Thread Oscar Carballal
Ok, where should I send my CV? :) 2013/10/11 Team UK <i...@theimip.com> > Remotely and Local applicants accepted. I can't really give you a detailed > job description because we are working on multiple projects. > > > On Friday, October 11, 2013 7:52:18 PM UTC+1, Oscar Carb

Re: Looking for experienced Django Developers

2013-10-11 Thread Oscar Carballal
Any more information about the job? Is remote available? Any other requirements? I'm interested in it btw. 2013/10/11 Team UK > ** > > Freelance Django developers. 2 years minimum experience required in > Django/python, CSS, HTML5, Bootstrap and JS backbone. > > Candidates

Re: I can run django-admin.py, but not manage.py.

2013-09-21 Thread Oscar Carballal
The manage.py is not executable by default, you should be running it with: $ python manage.py or if you want it to be executable forever and run it with ./manage.py do: $ chmod +x manage.py 2013/9/22 Jimmy Pants > Noob here. I installed Django, and as the title says, I

Re: autogenerating SECRET_KEY every time the server runs

2013-06-20 Thread Oscar Carballal
So the SECRET_KEY is stored in the database at syncdb time? What if it gets compromised, you need to modify that table/row? Just asking out of curiosity :-) 2013/6/20 John DeRosa > When we run the development server locally, we often start with an > already-existing

Re: Variables inside the static tag

2013-05-20 Thread Oscar Carballal
wrote: > >> How about getting the path to the flags, then tacking on the filename >> outside the tag... >> >> {% static "assets/flags/" %}{{ request.LANGUAGE_CODE }}.gif >> >> _Nik >> >> On 5/20/2013 12:13 PM, Oscar Carba

Variables inside the static tag

2013-05-20 Thread Oscar Carballal
Hi, I'm migrating to the new static tag in my project, and I ran into a problem, in some places I use variables to get the content, but that doesn't work anymore in django 1.5, is there any way to solve this? Current code: What it should be (doesn't work): I've also asked in StackOverflow

Re: Moving a Django website to another server

2013-01-25 Thread Oscar Carballal
nd even there you should do things like fix up the network configuration > and > ssh machine keys) I think that you're going to have trouble "just copy"ing. > > Bill > > On Fri, Jan 25, 2013 at 10:22 AM, Oscar Carballal <piz...@gmail.com> wrote: >> >> For

Re: Moving a Django website to another server

2013-01-25 Thread Oscar Carballal
SSH if you have it available, via the "scp" command, it's faster and easier in my opinion, but if you only have the FTP available you should take care of the file permissions and user/group. Regards, Oscar Carballal 2013/1/25 John Robertson <linksstreetdes...@gmail.com>: >

Re: Easy question (I hope)

2011-10-07 Thread Oscar Carballal
I was watching this thread for a while now, and I've got a question. What is the reason to split the models.py file? I mean, I'm currently working on a django project, and the models are pretty "simple" (I usually split them into apps) the biggest models file has five or six models in the same

Re: Need Help Regarding Forms.py

2011-09-01 Thread Oscar Carballal
You can use ModelForms, it is the easiest way of creating the forms for your template: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/ That will generate the necessary form and you just need to put the form templatetags in your template. An example for your code would be: forms.py

Re: Dreamhost Virtualenv Question

2011-07-05 Thread Oscar Carballal
Take a look to this article i wrote a couple of months ago blog.oscarcp.com/?p=167 its about installing django 1.3 on dreamhost, it may help you Enviado desde mi HTC El 05/07/2011 20:13, "Jeremy" escribió: > Hello, I'm completely new to Django and the concept of

Re: Setting up dev/test/production environments on the server (dreamhost)

2011-06-03 Thread Oscar Carballal
I recently discovered AlienLayer, a VPS provider in las vegas, they hace a $19/year plan that is quite good for personal stuff. Take a look to it :) Enviado desde mi HTC El 03/06/2011 20:48, "Javier Guerra Giraldez" escribió: > On Fri, Jun 3, 2011 at 1:12 PM, AJ

Re: Confusion about DJANGO_SETTINGS_MODULE

2011-06-02 Thread Oscar Carballal
2011/6/2 Kann : > Yep, but what if I just want to load all configurations from the > entirely new file. What should be the proper value for me to give to > the DJANGO_SETTINGS_MODULE? Take a look to https://docs.djangoproject.com/en/dev/topics/settings/ You can load the new

Re: Confusion about DJANGO_SETTINGS_MODULE

2011-06-02 Thread Oscar Carballal
You can import "setting_new.py" from "settings.py", that way you still only need to stablish settings.py as the DJANGO_SETTINGS_MODULE. It's strange though, the development server of django (python manage.py runserver) should import automatically the settings module and add it to the python path.

Re: Django 1.3 docs PDF

2011-06-01 Thread Oscar Carballal
to get the contents). Anyway, thanks for pointing it! :-) 2011/6/2 Jacob Kaplan-Moss <ja...@jacobian.org>: > On Wed, Jun 1, 2011 at 4:47 PM, Oscar Carballal <piz...@gmail.com> wrote: >> I've just created a PDF (5.6MB, 1042 pages) with all the django 1.3 >> docs [|]

Django 1.3 docs PDF

2011-06-01 Thread Oscar Carballal
Hello, I've just created a PDF (5.6MB, 1042 pages) with all the django 1.3 docs [|], just in case someone need it (sometimes it's useful to have the docs offline). Cheers, Oscar [1] http://clionesoftware.com/files/docs/django1.3.pdf -- You received this message because you are subscribed to

Re: markup

2011-05-26 Thread Oscar Carballal
2011/5/26 Brett Parker : > On 26 May 08:27, Vladimir wrote: >> Is there a tool to transform MS WORD file into HTML ? I know there is >> markdown and textile, but I would prefer MS WORD. > > http://wvware.sourceforge.net/ > > -- > Brett Parker Also

Re: Static files

2011-05-18 Thread Oscar Carballal
[OFFTOPIC] Whoa, I thought that only spanish people sounded rude (because of our way of talking between us) but now reading this mail (I mean no offense to John) I get the point of why our "talk-to-the-point" sounds pretty rude. 2011/5/18 Jacob Kaplan-Moss : > Hi John -- > >

Re: retrieving current user in view

2011-05-18 Thread Oscar Carballal
As Daniel said, I dont' think also that the entire view is that, but if it helps, I'll let you a piece of my code for a form (gpl, no problem if you copy it). @permission_required('spaces.add_space') def create_space(request): """ Create new spaces. In this view the author field is

Re: Pinax: worth installing?

2011-01-19 Thread Oscar Carballal
e pinax main code. Also, some of the bundled projects are completely outdated, though they work well, but if you use one of those (for example the social site, it's the most outdated) you'll probably need to do a lot of improvements on your own). If you want to try pinax try the development vers

Problem with PIL in Mac OS X 10.4

2010-02-22 Thread Oscar Carballal
Hello, I've just installed Django CMS in my Mac OS X 10.4.11 with Python 2.6. One of the requisites is the PIL library, which I've installed through "easy_install" and tested after installation. Even when the Python interpreter loads the module and works fine with it, Django and Django CMS keep