web visit
>> https://groups.google.com/d/msgid/django-users/2140173205.1049884.1621158719602%40mail.yahoo.com
>> <https://groups.google.com/d/msgid/django-users/2140173205.1049884.1621158719602%40mail.yahoo.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received
I've been working on trying to set up my tests to run in parallel, however
I've experienced some issues along the way. I've tried setting the parallel
flag in the options for the django tests, and while it creates the copies
of the db, it only creates the main thread and runs all my tests
seque
t could be causing the issue. I have no clue about what is
going on.
Does the issue rings the bell to someone? Something I could review at?
I appreciate any help or advice. Thanks!
Oscar
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
d(max_digits=10, decimal_places=4,
blank=True, null=True)
volume = models.IntegerField(blank=True, null=True)
average_volume = models.IntegerField(blank=True, null=True)
Le lundi 8 juin 2015 22:09:05 UTC+2, Oscar Buijten a écrit :
>
> Hi there,
> The python learning curve seems to
ated I guess I could change the field
names in the model/table, but I rather not as the trick in itself would
help me with some other data as well (it's part of the learning curve I
guess :-) ).
Thanks!
Oscar
Le lundi 8 juin 2015 22:09:05 UTC+2, Oscar Buijten a écrit :
>
> Hi the
lp me with some other data as well (it's part of the learning curve I
guess :-) ).
Thanks!
Oscar
As an example;
the key Symbol needs to put it's value into field 'yahoo_symbol' in the
model/table
Le lundi 8 juin 2015 22:09:05 UTC+2, Oscar Buijten a écrit :
>
> Hi the
_Close': u'13.57496',
u'Volume': u'2706600', u'Low': u'13.70', u'Date': u'2014-04-29', u'Close':
u'13.92', u'Open': u'13.70'}, {u'High': u'13.735', u'Symbol
Just to let you know that I got this snippet working now Gergely :-)
Thanks again for putting me on the right track.
What I didn't get though is why I need the " *args, **options".
I read the doc but didn't grasp the why...
Cheers,
Oscar
-- snip ---
Thanks for your swift responses Gergely. It's much appreciated ;-)
I will try again for the django-admin command
Oscar
Le dimanche 7 juin 2015 14:26:39 UTC+2, Oscar Buijten a écrit :
>
> Hi There,
>
> For various reasons I recently started efforts to covert an existing .php
the end user. I
now just am converting to python/django
Thanks again,
Oscar
Le dimanche 7 juin 2015 14:26:39 UTC+2, Oscar Buijten a écrit :
>
> Hi There,
>
> For various reasons I recently started efforts to covert an existing .php
> application to pyhton + django.
> Ther
running into an error I haven't been able to resolve so far.
Using Python 2.7.x and django 1.8.x + postresql
Script is starting with this:
-- snip --
import os,sys
sys.path.append('/home/oscar/django/trading/myichimoku')
os.environ['DJ
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 :
> El sábado, 19 de julio de 2014 02:17
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
> Thanks Russell, I actually see a comma after the None... I'm not sure what
> you're referring to.
&
nia/e-cidadania/tree/master/src/core/spaces
Actually you're right, but even then ipdb doesn't show a very helpful
output. I'm putting it in a pastebin to avoid cluttering the mail:
https://dpaste.de/asTw
2013/10/30 Russell Keith-Magee
> Hi Oscar,
>
> The error you describe
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: 'NoneTyp
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 the
Ok, where should I send my CV? :)
2013/10/11 Team UK
> 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 Carballal wrote:
>
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 will go through scr
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 can run
> django-admin
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 database. We don't re-initia
out 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 Carballal wrote:
>> > Hi,
>> >
>
ked in StackOverflow (http://stackoverflow.com/q/16655851/270293)
and someone suggested to use the "add" functionality, but that doesn't work
either. Any ideas?
Regards,
Oscar
--
You received this message because you are subscribed to the Google Groups
"Django users" g
here 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 wrote:
>>
>> For our project e-cidadania
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 :
> Hi there, if I want to move a Django
s MyForm(forms.Form):
...
date = forms.DateField(widget=SelectDateWidget(years=range(1970,
datetime.today().year)))
...
Take a look at the source code of the widget. For example, some time
ago I created my own SelectDateWidget to override the 'none_value' it
places by default (---)
Hello Min,
On Saturday, May 5, 2012, 1:36:24 PM, you wrote:
> hi oscar,
> it works, but the problem in jquery load didn't refresh the page after I have
> loaded.
> it will always use the outdated html. I have tried to use ajaxsetup
> cache:false etc.
> but seems like
Hello Min,
On Friday, May 4, 2012, 10:14:46 AM, you wrote:
> hi oscar,
> how do you make use of the particular method to be able to render
> the form only? as you said make use of the
> https://docs.djangoproject.com/en/1.4/ref/contrib/csrf/#ajax and
> it able to render the
ts to change his password:
- He clicks on "Change password"
- A modal form (dialog) appears
- The user clicks on "Submit" and he didn't enter the two passwords
correctly.
- The form is rendered again (what I usually do is replace the
.. content with the some HTML retur
go-registration. Then you will be
using your confirmations when registering (either send the token by email or
sms) and when changing the email :)
My point is that django-registration might not solve your problem all the
time.
Best Regards,
Oscar Mederos
--
You received this message because you
I have a UserAdmin, and I defined a UserProfileInline like this:
-
from ...
from django.contrib.auth.admin import UserAdmin as UserAdmin_
class UserProfileInLine(admin.StackedInline):
model = UserProfile
max_num = 1
can_delete = False
verbose_name = 'Profile'
ver
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 fil
.
Regards,
Oscar
El 01/09/2011 12:31, "Showket Bhat" escribió:
> Hi All
>
> I am new to Django and I have created a small application for learning
> Django.. Well I have not used forms in my application.. Is it
> necessary to use forms in Django.. Can't we work w
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 virtualenv.
> I'm trying to set up
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 wrote:
>> To change the question
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 settings via "runserv
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.
o times to get the contents).
Anyway, thanks for pointing it! :-)
2011/6/2 Jacob Kaplan-Moss :
> On Wed, Jun 1, 2011 at 4:47 PM, Oscar Carballal wrote:
>> I've just created a PDF (5.6MB, 1042 pages) with all the django 1.3
>> docs [|], just in case someone need it (sometimes i
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 sub
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 http://ginstrom.com/software/doc2html/
--
You re
[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 --
>
> Next time, can you ple
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 automa
cts 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 version (it's two versions
ahead of the stab
It's for mysql
it still does not work. I tried it with the following sql statement
"SELECT * FROM project_project WHERE start_date LIKE '%s'" % '2010%%'
On Fri, Dec 3, 2010 at 9:04 AM, wayne wrote:
>
>
> On Dec 3, 10:47 am, owidjaya wrote:
> > It says incorrect date value.
> >
>
> What databas
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 s
Sweet!
I've been looking (and I'm pretty sure it's not only me who's been
looking) for some good tutorial on how to do this.
Luckily I use OS X at home, which probably means that I can use this
without any modification... :-D
Thank you very much!
Oscar
On Wed, Jan 07
Have you been able to make omnicomplete work with Django?
I haven't been able to figure it out myself, and gave up after a few
tries. It would be really sweet to have, since vim otherwise is a really
good editor.
Oscar
On Wed, Jan 07, 2009 at 12:15:22PM +1930, Santiago wrote:
>
>
I've never used Kohana (or CodeIgniter), but I've used both PHP and Python -
and even if Kohana is a really nice framework, Python is still a great
advantage. Python is very friendly.
And Django (totally) kicks ass :-)
Oscar
2008/7/17 [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Please post the code at dpaste.com, and paste the URL in the mail :-)
As Kenneth suggested, I think it looks like an indentation error, but it's
hard to detect or confirm while the mail is displayed with a non-monospaced
font.
Oscar
On Wed, Jul 16, 2008 at 7:39 AM, Kadusale, Myles &l
I believe there's a project called GeoDjango that's dealing with this very
issue, you should check it out:
http://code.djangoproject.com/wiki/GeoDjango
Oscar
On Mon, Jul 14, 2008 at 12:27 AM, MarC <[EMAIL PROTECTED]> wrote:
>
> Hello everybody,
>
> I'm tryin
://superjared.com/entry/django-and-crontab-best-friends/
There's plenty of documentation on how cron works, so that part you'll have
to figure out yourself (and it's really good to know) :-)
Oscar
On Sun, Jul 13, 2008 at 5:56 PM, Adam Fast <[EMAIL PROTECTED]> wrote:
>
&g
bugs, since I can't make any strange errors
in my templates :-)
Oscar
0. http://www.makotemplates.org/
On Sun, Jul 13, 2008 at 9:01 AM, Chris <[EMAIL PROTECTED]> wrote:
>
> Just out of curiosity, is there a reason why the templating constructs
> can't evaluate arbitrary e
, since they have python bindings.
Oscar
On Sat, Jul 12, 2008 at 7:28 PM, Xan <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there any tool for visualizing database data? I mean for example,
> to build graphics like piechart, linechart, classification of database
> data in a freq
tpage_menu request %}
{{ flatpage_menu|safe }}
Have I misunderstood on how (and when) I should have converted the
request-variable, using the context given by the render-method?
Or have I overdone this? Are there any better was to do something similar?
If you only need to repeat a div-tag 20 times, and don't need any data from
any model, you could always do it with javascript.
Oscar
On Fri, Jul 4, 2008 at 6:07 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Create a 20-elemnt list inside your view and set it as a c
com/en/1.0/chapter05/ ("Making Changes to a Database
Schema")
Oscar
On Wed, Jul 2, 2008 at 2:49 PM, <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I'm using MySQL with Django, I setup my models and installed
> everything, got into the admin panel and realized I left
...you were very correct - I didn't have CacheMiddleware loaded, and when I
loaded it...
Everything worked.
Thanks for all your help! :-)
Oscar
(I feel a bit stupid, tho)
On Tue, Jul 1, 2008 at 11:10 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>
> Oscar Carlsson wrote
ache again, memcache stays on 0.2% memory usage - ie, no change :(
Oscar
On Tue, Jul 1, 2008 at 9:56 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>
> Oscar Carlsson wrote on 07/01/08 21:48:
> > I've checked the following logs, but nothing turned up:
> > /var/log/ng
red -- resuming normal operations
I also removed all *.pyc after adding 'debug=1'.
Oscar
On Tue, Jul 1, 2008 at 7:19 PM, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>
> Oscar Carlsson wrote on 07/01/08 19:02:
> > Heh, ops!
> >
> > That was a typo, but
Heh, ops!
That was a typo, but even after fixing it, nothing changed :(
(still no change in memory usage, that is)
Here is the ZeroDivisionError, btw:
http://dpaste.com/60185/
Oscar
On Tue, Jul 1, 2008 at 6:47 PM, Brian Luft <[EMAIL PROTECTED]> wrote:
>
> In your settings f
is: http://effbot.org/zone/django-memcached-view.htm , but
I end up with a division by zero exception when the view tries to calculate
the memory usage, which seems to be because memcache isn't caching anything.
Anyone experienced this before, or know where to start debug?
Oscar
--~--~---
+1
Oscar
On Fri, Jun 20, 2008 at 12:52 PM, Valts Mazurs <[EMAIL PROTECTED]> wrote:
> Sure, me too :)
>
>
> On Fri, Jun 20, 2008 at 1:32 PM, chris vigelius <
> [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote:
>
>>
>> me2...
>>
>> Am Freit
I installed python + pil + django etc with MacPorts, and I have no problems
with PIL, whatsoever.
And you get all your custom installs in /opt/local, keeping your OS X
installation clean... :)
Oscar
On Mon, Jun 16, 2008 at 6:50 PM, Jude <[EMAIL PROTECTED]> wrote:
>
> Thanks, you
No, you don't have to load everything by hand - there is another way :)
http://superjared.com/entry/django-and-crontab-best-friends/
Oscar
On Mon, Jun 16, 2008 at 11:33 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 16, 2008 at 3:50 PM, Molly <[EMAIL PROTECTED]>
I would go for Textmate (haven't tried E tho) even if it costs some money -
it's a superb text editor!
There are a few plugins for VIM that are very useful (especially
http://tinyurl.com/cm4nm) for this kind of editing, but Textmate is a lot
better.
Oscar
On Sat, Jun 14, 2008
I'm wondering - are there any performance related reasons to switch from
Django ORM to say sqlalchemy?
Why does this discussion reoccur every once in a while if there is nothing
to gain?
Are there other Good Reasons (tm) to switch?
Oscar
On Fri, Jun 13, 2008 at 8:49 AM, James Bennett &l
It's HTML - ie, the required fields are in *bold* (I'm not sure google
groups accepts inline HTML, tho).
Good luck :)
Oscar
On Fri, Jun 6, 2008 at 10:12 PM, Cliff <[EMAIL PROTECTED]> wrote:
>
> Hi Cory,
> Thanks for your reply. Can you please be more precise? I a
Thanks Jeff,
You know any shared hosting settings? I will try to extrapolate the settings
for irectAdmin.
Thanks in advance,
Oscar.
On Sat, Jun 7, 2008 at 12:32 AM, Jeff Anderson <[EMAIL PROTECTED]>
wrote:
> Oscar wrote:
>
>> Hi,
>>
>> I have a VPS with Direct
Hi,
I have a VPS with DirectAdmin Control Panel for shared hosting. I want
know which module is the better solution for get django running in my
server without eat all my resources and under my scenario.
mod_wsgi ???
mod_python ???
mod_fastcgi ???
And if some one have some knowledge about insta
I use OS X + (vim|mysql|svn) while developing and (FreeBSD|Gentoo) in
production :)
The only thing I'm missing is omnicompletion for django, haven't been
able to figure out how to do it myself :(
Oscar
JonSidnell wrote:
> Hi everyone
>
> I'm suddenly struck by the not
I mostly use textmate, but I know that (Mac)Vim with omnicompletion and
snippetsEmu is quite usable.
http://code.djangoproject.com/wiki/UsingVimWithDjango
Oscar
On Wed, Feb 13, 2008 at 01:57:38PM -0800, zombat wrote:
>
> Hi Djangonauts.
>
> I was looking around for a good IDE
Another cool editor is Scribes ( http://scribes.sourceforge.net/ ), at
least last time I tried it. Might take some configuring, but it might be
worth it :)
On Sun, Feb 10, 2008 at 10:12:02PM +0530, Ramdas S wrote:
> I know its no replacement, but try scite editor. Its cool and is used by
> many py
Why choose one when you can have both?
I'd vote for OS X.
Nice UNIX-ness, _really_ nice fonts, superb hardware support and good
looking hardware...and with VMWare Fusion / Parallells virtualisation is
simple and fast. And Photoshop works really well is OS X :)
On Thu, Feb 07, 2008 at 12:49:27AM
Another alternative could be using BeautifulSoup to find all tags in the
data and replace all non-approved tags with nothing.
Oscar
On Mon, Jan 21, 2008 at 04:03:54PM -0700, Jeff Anderson wrote:
> If you've already looked at the regular bunch: textile, markdown, rst,
> etc...
>
73 matches
Mail list logo