2010/11/16 xpanta
> Hi,
>
> I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to
> build a Django project.
>
> Autocompletion works fine for python language but not for django. For
> example in models.py I cannot get the
> field = models.CharField(max_length=100) to be autocompleted.
Hello everybody,
Even though many posts on the internet address this issue I haven't
been able to tackle it using version Python 2.7. Any help is welcom
for this new comer!
Thanks in advance for kind coop.
Errit.
--
You received this message because you are subscribed to the Google Groups
"Dj
Thanks a lot.
it seems to work, now :-)
I don't know why, but I also had to remove PYTHONPATH environment
variable (my computer -> properties -> etc...) in order for auto-
config to configure python-django properly...
Thanks again for your time,
Chris
On Nov 16, 10:33 am, Simone Dalla wrote:
I dont think you are going to get a great deal of help if you just
repeat your posts,
http://groups.google.com/group/django-users/browse_thread/thread/bab395cd78eca494?hl=en#
There was some sound advice from experienced users of Django and
Linux.
There are also already some great tutorials on i
On Nov 15, 3:57 pm, James wrote:
> On Mon, Nov 15, 2010 at 7:48 AM, bruno desthuilliers
> wrote:
> > On a more general level, I very
> > strongly suggest you spend some time learning Python
>
>
> Good point. I've actually been working through Learn Python the Hard
> Way & How to Think Like A Com
This will affect the frontend too?
On Nov 16, 4:57 am, someLiang wrote:
> just make it seems like this:
>
> MIDDLEWARE_CLASSES = (
> 'django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> #'django.middleware.locale.LocaleMiddleware',
Any suggestion?
On Nov 14, 6:15 pm, Federico Capoano wrote:
> Hi all,
>
> I would like to find a way to get categories and subcategories
> displayed in the admin, in the form of a multiple select.
>
> Like:
>
> parent
> child1
> child2
> parent2
> child3
>
> Do I have to make a custo
On Tue, Nov 16, 2010 at 9:58 AM, Federico Capoano
wrote:
> This will affect the frontend too?
>
Yes, I'd replace it with a customized version of the LocaleMiddleware,
something like this ought to do the trick:
from django.middleware.locale import LocaleMiddleware
from django.utils import transla
On Tue, Nov 16, 2010 at 12:24 AM, Mitch Anderson wrote:
> I'm having a problem with a command script that I want to create a
> object that has a FileField as part of the model.
>
> My Model Looks like this:
>
> class Files(models.Model):
> STATUS = (
> ('unknown', 'Unknown'),
>
Let me start of with apologising for a double post and thanking you
for your reference.
I think my problem lays with finding the right directory. From the
offered solution (http://code.djangoproject.com/wiki/
InstallationPitfalls) I don't now how to determine the right 'Link
/bin/django-admin.py t
2010/11/16 xpanta
> Thanks a lot.
>
> it seems to work, now :-)
>
> I don't know why, but I also had to remove PYTHONPATH environment
> variable (my computer -> properties -> etc...) in order for auto-
> config to configure python-django properly...
>
> Thanks again for your time,
>
De nada ;-)
ola a todos,
estou desenvolvendo um sistema web com django e estou com dificuldades
da geração de relatórios...
na hospedagem eles nao tem o ReportLab e Pisa instalados, entao, eu
queria instalar essas biblitecas dentro do proprio projeto, tem como?
obrigado
--
You received this message because y
Thats ok, I can appriciate how frustrating it can be trying to learn
of your own back from the beginning as a lot of the advice can seem to
be in a foreign language. But if you dont understand you need to state
that, as often if you double post people will just ignore you, noone
gets paid to submit
use vim and feel happy :D
here are the django template and model templates.
https://github.com/msanders/snipmate.vim
Pzt, 2010-11-15 tarihinde 23:44 -0800 saatinde, xpanta yazdı:
> Hi,
>
> I am using eclipse Galileo (Build id: 20100218-1602) and PyDev to
> build a Django project.
>
> Autocomple
Hi Johannes,
You may be interested in this project:
https://github.com/kmmbvnr/django-hudson
Cheers,
Nick
On Nov 14, 5:36 am, Johannes Nel wrote:
> answering my own questions here:
>
> By the looks of things I will stick with hudson for now, I found some
> information on coverage tools as wel
hi all,
i just doing Django..tried the first example in Django book...i
encountered problem at admin page. it says that admin is not defined.
i followed each step in tutorial and i am able to run django server
also. pls help me to solve it.
i am adding error output here.
Environment:
Request Met
You should uncomment admin from the top of the urls.py
it should be imported
from django.contrib import admin
and also
admin.autodiscover()
Sal, 2010-11-16 tarihinde 03:49 -0800 saatinde, frank yazdı:
> hi all,
>
> i just doing Django..tried the first example in Django book...i
> encountered pro
Make sure wether django is properly installed on your system. I think your
problem lies there.
Matthias
"ErritG" schrieb:
>Hello everybody,
>
>Even though many posts on the internet address this issue I haven't
>been able to tackle it using version Python 2.7. Any help is welcom
>for this n
El Tue, 16 Nov 2010 00:43:21 -0800 (PST)
ErritG escribió:
> Hello everybody,
>
> Even though many posts on the internet address this issue I haven't
> been able to tackle it using version Python 2.7. Any help is welcom
> for this new comer!
>
> Thanks in advance for kind coop.
>
> Errit.
>
Tr
" you'll have to have all the states/provinces as 'choices' in the
ChoiceField in the form, otherwise the form won't validate."
Yup, this is a "real" gotcha. IMO, its not really true filtering if
you take this approach, as the initial form will still load the X
million items, even though the user
Hi Guys,
We have many projects with django and in one project we need send 3 kinds of
email:
- newsletter
- contact email
- errors
now, my question is how i can use multiple accounts, multiple user/password
from gmail for send this mails, i mean, in the settings i have this:
EMAIL_SUBJECT_PR
Hi everybody,
While taking the tutorial 'Writing your first Django app, part 1' if
stumbled on the command 'python manage.py sql polls' Running this
command gave the following output (if only listed the last part)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/
site-packages
What version of Django are you using?
Also, you can create a customized Connection() for each piece of mail you send:
http://docs.djangoproject.com/en/dev/topics/email/
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
I find that flushing stdout sometimes crashes the dev server -- weird. Anyway,
if you make a minor mod to any file and save changes it flushes stdout.
But the guys who suggested python logging are right on for doing it the "right
way"
-Original Message-
From: django-users@googlegroups.
I'm using django 1.2 but i dont know how connections works exactly, i wish
use only one backend, SMTP, but how i tell the connection, the new user for
authentication for smtp?
Diego Andrés Sanabria
Ingeniería de Sistemas Universidad Distrital
about:me http://www.google.com/profiles/diegueus9
cel
On Tue, Nov 16, 2010 at 10:39 AM, diegue...@gmail.com
wrote:
> I'm using django 1.2 but i dont know how connections works exactly, i wish
> use only one backend, SMTP, but how i tell the connection, the new user for
> authentication for smtp?
>
Read the fine Django docs at the link I attached. Yo
I already read that part of doc, but i dont find the answer, should i read
the code?
--
Diego Andrés Sanabria
Ingeniería de Sistemas Universidad Distrital
about:me http://www.google.com/profiles/diegueus9
cel 3015290609
On Tue, Nov 16, 2010 at 10:44, Shawn Milochik wrote:
> On Tue, Nov 16, 20
On Nov 15, 8:55 pm, Thomas Schreiber wrote:
> check the grids on django packages:http://djangopackages.com/grids/g/tagging/
django-taggit seems to be the new hotness. Unfortunately we've been
waiting for months for a conversion script to help us migrate from
django-tagging to django-taggit.
./s
On Nov 15, 8:45 pm, Steve Holden wrote:
>
> Perhaps he did, but that's no reason to believe him until we know that
> his assessment of the situation is likely to be realistic. Don't forget
> that a lot of people who post here aren't particularly experienced and
> so may not appreciate exactly wha
I think my question wasn't explicit,
in the file django/core/mail/backends/smtp.py i found the
class EmailBackend, in the constructor i can send the host, user and
password for the smtp connection, but in what moment y can call this
constructor with the new user/password? should i make a diferent
On Tue, Nov 16, 2010 at 3:47 PM, diegue...@gmail.com
wrote:
> I already read that part of doc, but i dont find the answer, should i read
> the code?
Yeah, don't bother, send them all from the same account, with
different from addresses in the message - no-one looks at the envelope
much..
Quick e
My mistake, Shawn was right, almost in part, in this
http://docs.djangoproject.com/en/dev/topics/email/#send-mail
i can call de method send_mail with a auth_user and auth_password for
authentication with the smtp backend, but this doesn't have connection with
get_connection method.
--
Diego André
On Tue, Nov 16, 2010 at 4:07 PM, diegue...@gmail.com
wrote:
> On Tue, Nov 16, 2010 at 10:52, Tom Evans wrote:
>>
>> Yeah, don't bother, send them all from the same account, with
>> different from addresses in the message - no-one looks at the envelope
>> much..
>
> google and ther politics of spa
On Tue, Nov 16, 2010 at 11:20, Tom Evans wrote:
> On Tue, Nov 16, 2010 at 4:07 PM, diegue...@gmail.com
> wrote:
> > On Tue, Nov 16, 2010 at 10:52, Tom Evans
> wrote:
> >>
> >> Yeah, don't bother, send them all from the same account, with
> >> different from addresses in the message - no-one loo
On Tue, Nov 16, 2010 at 4:26 PM, diegue...@gmail.com
wrote:
> my issue is more related with the bound of emails per day and etc... we have
> a app for newsletter and nearby of 2000 users, so, is usefull have one
> account for newsletter and another for errors and email of contact
>
Google wil
Hi all,
sorry for reposting this from stackoverflow [1] but I'm hoping to hear
from more people who may have experience with this sort of thing.
Django comes with unicode support out of the box and it supports utf-8
by default. Say that you have developed, debugged and tested
successfully a site
Anyone got any experience of the vObject associated to vcard entry,
specifically to enter a work telephone number AND a fax number as well as a
web page address, I've read through the vobject stuff and vcard stuff and I
am none the wiser, what I have at the moment can write the tel and can write
t
2010/11/16 Derek
> Sean
>
> I hear what you say - but is this approach also readily available inside
> the Admin framework?
Absolutely yes.
--
Simo
- Registered Linux User #395060
- Software is like sex, it is better when it is free --> Linus B. Torvalds
--
You received this message beca
Hello all!
I'm quite new to Django, and this is my first post to this group, so
pls excuse and correct me if it's the wrong place or something like
that.
I am trying to use eav-django (http://pypi.python.org/pypi/eav-
django), but it won't work because of Ticket #14471 (http://
code.djangoproject
I'm trying to build a simple view that send and
HttpResponse(my_generator()) back to the new HTML5 EventSource object
on the client.
Only the first iteration of my infinite generator is passed.
Afterwards, all I get is a broken pipe error.
Seems like the HttpResponse connection is dropped after t
On 11/16/2010 10:52 AM, Scot Hacker wrote:
> On Nov 15, 8:45 pm, Steve Holden wrote:
>>
>> Perhaps he did, but that's no reason to believe him until we know that
>> his assessment of the situation is likely to be realistic. Don't forget
>> that a lot of people who post here aren't particularly ex
Preston,
I had a similar problem to solve when working on a research project
that collected a lot of data from companies, much of which was
missing. As I understand it, your data set is effectively a sparse,
two-dimensional matrix [1], and you want to be able to edit this in
the browser. I'd sugge
On Tue, Nov 16, 2010 at 3:28 AM, Tom Evans wrote:
> Django doesn't want a python file or text for a django file field, it
> wants a django.core.files.File. I find the easiest one to use is the
> InMemoryUploadedFile. Here is a snippet I use for fetching an image
> from the web, and creating a dja
On Wed, Nov 17, 2010 at 2:59 AM, Cek wrote:
> Hello all!
>
> I'm quite new to Django, and this is my first post to this group, so
> pls excuse and correct me if it's the wrong place or something like
> that.
You've got the right place. Welcome!
> I am trying to use eav-django (http://pypi.python
Hi,
I am planning to limit the number of users logged online in my application.
How can I do it?
Thanks
Alex
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe fr
You can use a table with the quantity of users logged, so if the quantity is
X then you don't let nobody else get loggin
On Tue, Nov 16, 2010 at 7:40 PM, Alex s wrote:
> Hi,
>
> I am planning to limit the number of users logged online in my application.
>
> How can I do it?
>
> Thanks
> Alex
>
>
On Tue, Nov 16, 2010 at 7:40 PM, Alex s wrote:
> Hi,
>
> I am planning to limit the number of users logged online in my application.
>
> How can I do it?
>
> Thanks
> Alex
There is no "logged in" state for a user. You will have to store user
IDs and the last time a request came in for that user,
While the state is stateless you can create a user list and then control the
number of user allowed to be logged on a given time. Read through this.
http://www.djangobook.com/en/beta/chapter12/
Your best bet is to create a count that keeps track of total active session and
only allows another
Any examples showing this approach readily available?
On 16 November 2010 20:16, Simone Dalla wrote:
>
>
> 2010/11/16 Derek
>
> Sean
>>
>> I hear what you say - but is this approach also readily available inside
>> the Admin framework?
>
>
> Absolutely yes.
>
> --
> Simo
>
> - Registered Linux
Nice.
Kudos to the people who did virtualenv, neat tool.
On Tue, Nov 16, 2010 at 9:07 AM, Nick Lo wrote:
> Hi Johannes,
>
> You may be interested in this project:
>
> https://github.com/kmmbvnr/django-hudson
>
> Cheers,
>
> Nick
>
> On Nov 14, 5:36 am, Johannes Nel wrote:
>> answering my own q
50 matches
Mail list logo