On Feb 15, 5:59 am, dj_vishal <2009vis...@gmail.com> wrote:
> Hello
>
> Hi to all am new to the Django Framework.am learning django
> Which IDE is suitable for Django ..plz help me in right way
IDE ??? What's that ?-)
More seriously : any decent code editor will do.
--
You received this m
On 15 February 2010 10:29, bruno desthuilliers
wrote:
> On Feb 15, 5:59 am, dj_vishal <2009vis...@gmail.com> wrote:
>> Hello
>>
>> Hi to all am new to the Django Framework.am learning django
>> Which IDE is suitable for Django ..plz help me in right way
>
> IDE ??? What's that ?-)
>
> More s
On Sun, Feb 14, 2010 at 08:36:25PM -0800, Keyan wrote:
> Please let me know is it possible to handle Winsock TCP\IP concepts in
> Django. & is there any tutorials to follow.
Some ways are discussed here:
http://groups.google.com/group/django-users/browse_thread/thread/536b6f4f6baf654b/d7bf03f08ae8
http://www.vim.org/
dj_vishal schrieb:
Hello
Hi to all am new to the Django Framework.am learning django
Which IDE is suitable for Django ..plz help me in right way
Thanks in Advance
vishal
2009vis...@gmail.com
--
You received this message because you are subscribed to the
I'd use http://dajaxproject.com/
On Sun, Feb 14, 2010 at 06:36, Margie Roginski wrote:
> Hi Jon,
>
> I have used this very successfully:
>
> http://loopj.com/2009/04/25/jquery-plugin-tokenizing-autocomplete-text-entry/
>
> The demo is here:
>
> http://loopj.com/tokeninput/demo.html
>
> One thing
Hello , i have a big problem for my little know
for simple diagnostic python manage.py shell
where am I wrong?
>>> from siteupdate.proxy.models import listurl
>>> a=listurl()
>>> a.urlip="pippo"
>>> a.servicetypelist="pluto"
Traceback (most recent call last):
File "", line 1, in
File "/us
TextMate!
On Feb 15, 2010, at 5:45 AM, Anton Bessonov wrote:
> http://www.vim.org/
>
> dj_vishal schrieb:
>> Hello
>>
>> Hi to all am new to the Django Framework.am learning django
>> Which IDE is suitable for Django ..plz help me in right way
>>
>> Thanks in Advance
>> vishal
>> 20
Hi,
I am new to Django and Python and have what must be a basic question.
I want to pass a URL of the following form, containing an email
address that I will later look up contact information from.
e.g. http://localhost:8000/contact/ronald.ninnis%40cdu.edu.au/
I don't care about whether this i
Real IDE fo Python/Django - Netbeans and Eclipse with Python plugins. But
IMHO it's overhead.
Use any text editor. Vim with python support is good.
WingIDE has good python support, but it's UI that is written in XUL anyoing
me, so I use Netbeans / Vim depending on task I have.
On Mon, Feb 15, 20
nice guide. is it true that eating to much protein will make you slim ?
-
Learn an http://automatedsocialnetworking.com/ Automated Social Marketing
technique WITHOUT Spending More than 5 Minutes Per Month at your Computer
:working:
--
View this message in context:
http://old.nabble.com/H
On Feb 15, 11:18 am, rebus_ wrote:
(snip)
> But as Bruno pointed out, any decent code editor will do, just a
> matter of preference.
Well, the point is that Django is about web programming, which usually
imply using quite a few languages - html + whatever template system,
javascript, css, quite o
Hi,
I'm trying to move from django 1.0.2 to 1.1 and I am getting the
following error in one of my templates:
Request Method: GET
Request URL:http://localhost:8000/conserv/media_assets/vod/
Exception Type: TemplateSyntaxError
Exception Value:Caught an exception while rendering: 'NoneTy
i used to use wingware for a while. It 's cool, fast but not free (i used
the trial version). Stick with Eclipse + pydev for a while also. IMO, it 's
the best, however, eclipse is always slow (because it 's a java
application), and don't have the integrated terminal ( i know that there are
some plu
hi,
i cant understand why but when i access my projects admin interface i
continiously get a 404 error on the favicon. everything works fine but i
get a lot of error mails from django everytime i access the site on
production.
[15/Feb/2010 12:34:07] "GET /de/admin/ HTTP/1.1" 200 7758
[15/
I have got good results with Eclipse + Pydev pluging + Aptana and
working on Ubuntu GNU/Linux or Centos (RedHat)
Mike Ramirez wrote:
On Sunday 14 February 2010 20:59:22 dj_vishal wrote:
Hello
Hi to all am new to the Django Framework.am learning django
Which IDE is suitable for Djan
Komodo is a very nice IDE for dynamic languages in general, so can be
used for both Python and Javascript, for example. It also has syntax
highlighting, autocomplete, etc. for the Django template language. The
full version costs a couple of hundred euros, but there is a very
useable free version, K
On Feb 15, 1:30 pm, knight wrote:
Don't know if it has anything to do with your problem, but there's an
error in your form:
>
> My form:
>
> class UploadImageForm(ModelForm):
> class Meta:
> model = ImageUpload
> fields = ('thumb')
Python gotcha here: what defines a tuple is
On Feb 15, 12:25 pm, luupux wrote:
> Hello , i have a big problem for my little know
> for simple diagnostic python manage.py shell
>
> where am I wrong?
>
> >>> from siteupdate.proxy.models import listurl
> >>> a=listurl()
> >>> a.urlip="pippo"
> >>> a.servicetypelist="pluto"
>
> Traceback (m
Hello,
I'm writing some simple webblog, just for self teaching, and I have a
question how to do better. Here is the situation, I have base.html, I
have blog.html which extends base. Now in that blog I would like to
put posts, full text posts, without comments, and link to the post
only with commen
On Feb 15, 5:36 am, iliveinapark
wrote:
> Thanks very much, Bruno, this is a pretty simple way of doing what I
> want.
Q&D example, really. A robust working solution will probably be a bit
more involved.
> Now I just have to figure out to apply it generically over multiple
> levels of inheritanc
Thanks,
You are great. It also solves my problem. :)
On Feb 15, 3:32 pm, bruno desthuilliers
wrote:
> On Feb 15, 1:30 pm, knight wrote:
>
> Don't know if it has anything to do with your problem, but there's an
> error in your form:
>
>
>
> > My form:
>
> > class UploadImageForm(ModelForm):
> >
Hi,
This might sound a bit like a jquery question. But since I'm pretty
sure that my jquery code is okay, it seems for me that my problem has
to do with django.
I try to reload a form and the head of the page with a jquery ajax
call:
$("#id_is_active").change(function(){
url =
you could create a template module where you put in the logic to dipslay
the content of the post:
Hello,
>
> I'm writing some simple webblog, just for self teaching, and I have a
> question how to do better. Here is the situation, I have base.html, I
> have blog.html which extends base. Now i
WingIDE, EricIDE
Il giorno dom, 14/02/2010 alle 20.59 -0800, dj_vishal ha scritto:
> Hello
>
>Hi to all am new to the Django Framework.am learning django
>Which IDE is suitable for Django ..plz help me in right way
>
>Thanks in Advance
>vishal
>2009vis...@gmail.com
> --
> Vi
I have the professional (since I use for work).
But if you want to create an open source project you can ask for a
license for free.
See their site for more info.
Max-B
Il giorno lun, 15/02/2010 alle 23.34 +1100, Tran Cao Thai ha scritto:
> i used to use wingware for a while. It 's cool, fa
It sounds like this might be a good case for a GET (querystring).
As in:
http://localhost:8000/contact/?email=ronald.ninnis%40cdu.edu.au/
Then use something like request.GET.get('email', '') to get the value.
That seems easier and cleaner than trying to have a URL pattern regex match
every val
The browser looks for a favicon (the little image that appears in the address
bar next to the URL). I got those errors on my WebFaction account until I
created a favico.ico file and added its location to the Apache config.
A quick Google search will find various Web sites which will take an imag
thx for that, i have a favicon for the frontend of my site and i really
dont understand why and where its searching for /favicon.ico it should
be /media/favicon.ico for the admin anyway.
i solved it by putting a django.views.generic.simple.redirect_to to
rewrite the url for the favicon.
Shawn Mil
2010/2/14 dj_vishal <2009vis...@gmail.com>
>
> Hello
>
> Hi to all am new to the Django Framework.am learning django
> Which IDE is suitable for Django ..plz help me in right way
>
http://www.gnu.org/software/emacs/
>
> Thanks in Advance
> vishal
> 2009vis...@gmail.com
> --
> View thi
hi
In my view I am taking user input string for month( like 'jan','feb')
and want to search the db for objects with those months as published
time.
def entry_archive_for_month(request,year,month):
entryset=Entry.objects.filter(pub_time__year=year,pub_time__month=month)
obviously this will caus
My application stores information about clinical trial and patients. We have a
model for the patient which has the usual fields, such as name, date of birth,
etc. One of the fields is patient_id, which is optional and is used by some of
our clients but not others. As such, the ModelForm will val
If you don't mind the horrors of beta software, I'd highly recommend
PyCharm. It's JetBrain's latest IDE, which is growing up to be Python
and Django-specific. It's still a little rough at this point, but
usable, especially if you are using the Django default structure,
etc. The 1.0 version isn'
On Mon, Feb 15, 2010 at 2:54 AM, Javier Rivera wrote:
> Karen Tracey wrote:
>
>>Now in a template I want to iterate over them as follows:
>>{% for project in projects %}
>>{{ project }}
>> {% for chain in project.chains %}
>> -- {{ chain }}
>> {% endfor %}
>>{% endfor %
Thanks for the recommendation of PyCharm, Joe. Jetbrains products are
excellent and I've had a lot of luck with their "other" foray into
targeted web framework IDEs: RubyMine. I'm definitely going to give
PyCharm a go and I'd +1 any Jetbrains products.
Cheers,
Dan
On Feb 15, 7:40 am, Joe Kueser
A list (or queryset or other iterable) of objects, each of which has an
attribute named "city_list" which contains a list(or queryset or other
iterable of strings (or objects with a unicode representation that is
meaningfully represented as a string) such as the name of a city.
On Sat, Feb 13, 201
Or a method on the project model, maybe called chain, that looks the
project instance's
name up in chains. The you could say "for item in project.chain", for example.
On Sat, Feb 13, 2010 at 3:31 PM, Daniel Roseman wrote:
> On Feb 13, 7:20 pm, Madis wrote:
>> http://push.cx/2007/django-template
On Mon, Feb 15, 2010 at 6:06 AM, Jonathan Sutcliffe <
jonosutcli...@googlemail.com> wrote:
>
> I want to pass a URL of the following form, containing an email
> address that I will later look up contact information from.
>
> e.g. http://localhost:8000/contact/ronald.ninnis%40cdu.edu.au/
>
> I don
hello,
I am trying to configure apache on a new server, but just getting 500
errors due a UnicodeEncodeError (in fact is on the photologue
application but the problem is extended wherever I use unicode
strings).
My problem is that when the application tries to access to the file
name of a photo,
im editing admin/change_form.html for one of my models and i need to
access the context of the object being edited, eg. admin/hotel/
change_form.html and in the template i need to call
{{ actual_hotel.its_value }}
--
You received this message because you are subscribed to the Google Groups
"Djan
Ok, here goes:
First, some background - UserProfile is the
settings.AUTH_PROFILE_MODULE and the Application model has a
ForeignKey to User. There's ~90,000 users/userprofiles, ~110,000
applications (most have only one application, some have 2). The
database is mysql. If that's not enough info, let
On Mon, Feb 15, 2010 at 1:43 PM, Greg Brown wrote:
> The queryset giving the problem is
>
> UserProfile.objects.values(
> 'ird_number', 'user__first_name', 'user__last_name', 'user__pk',
> ).annotate(
> Max('user__application__creation_date'),
> ).order_by('-user__application__
I'm looking for something in the framework that I think must exist
somewhere but can't seem to find anything. I'm after a bit of code
that takes a dictionary (a.k.a the POST dictionary) and a model
instance, then merges the two into a new dictionary. The new
dictionary then contains all values from
On Mon, Feb 15, 2010 at 2:05 PM, Robert wrote:
> hello,
>
> I am trying to configure apache on a new server, but just getting 500
> errors due a UnicodeEncodeError (in fact is on the photologue
> application but the problem is extended wherever I use unicode
> strings).
>
> My problem is that whe
Hi,
I hope this question hasn't been asked before, if so please link me to
the answer (I couldn't find it).
I have the following problem. When I try to send an e-mail using
send_mail() trough the Django website (so via a view function), it
does not deliver the e-mail. However when on the same ser
On Mon, Feb 15, 2010 at 4:27 PM, cootetom wrote:
> I'm looking for something in the framework that I think must exist
> somewhere but can't seem to find anything. I'm after a bit of code
> that takes a dictionary (a.k.a the POST dictionary) and a model
> instance, then merges the two into a new di
That's a good point, but then the ird_number field (on UserProfile) is
inaccessible. I'd need to do something like
User.objects.values('first_name', 'last_name', 'pk',
'userprofile__ird_number').annotate(
Max('application__creation_date'),
).order_by('-application__creation_date__ma
Thanks Javier but I'm having problems with that. I do want to create a
dictionary from the model first then override with the POST values.
But when I try to make a dictionary from the model I get an 'object is
not iterable' error.
On Feb 15, 9:41 pm, Javier Guerra wrote:
> On Mon, Feb 15, 201
On 2010-02-15, at 2:31 PM, cootetom wrote:
> Thanks Javier but I'm having problems with that. I do want to create a
> dictionary from the model first then override with the POST values.
> But when I try to make a dictionary from the model I get an 'object is
> not iterable' error.
Without the co
Thank you . actually i need to take RDC(Remote DesckTop Connection)
to my client system is it possible using Django framework.
On Feb 15, 3:34 pm, Baurzhan Ismagulov wrote:
> On Sun, Feb 14, 2010 at 08:36:25PM -0800, Keyan wrote:
> > Please let me know is it possible to handle Winsock TCP\IP con
On 15 February 2010 20:11, jb wrote:
> im editing admin/change_form.html for one of my models and i need to
> access the context of the object being edited, eg. admin/hotel/
> change_form.html and in the template i need to call
> {{ actual_hotel.its_value }}
>
> --
> You received this message beca
Hi,
In my template:
{% for photo in photos %}
stuff
{% endfor %}
Is this possible? I am sure it is... Any tips ya'll could send my way
would be spectacular!
Thanks!
Micky
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
> Is this possible? I am sure it is... Any tips ya'll could send my way
> would be spectacular!
Hrmm, forloop.counter. It is one of those days. :P
--
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...
On 16 February 2010 02:52, mhulse wrote:
>> Is this possible? I am sure it is... Any tips ya'll could send my way
>> would be spectacular!
>
> Hrmm, forloop.counter. It is one of those days. :P
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" gro
> Hrmm, forloop.counter. It is one of those days. :P
But, how can I tell if it is every third item?
Also, is there a way to check if the current number is even?
In a PHP template, I might do this:
... forloop ...
... endforloop ...
Sorry if silly question.
Thanks!
M
--
You received this me
> Check out "cycle" template tag too.
> http://docs.djangoproject.com/en/dev/ref/templates/builtins/#cycle
Thanks rebus_! I have played with that just a little bit. I will
explore it further.
Cheers,
Micky
--
You received this message because you are subscribed to the Google Groups
"Django us
On 16 February 2010 02:58, mhulse wrote:
>> Hrmm, forloop.counter. It is one of those days. :P
>
> But, how can I tell if it is every third item?
>
> Also, is there a way to check if the current number is even?
>
> In a PHP template, I might do this:
>
> ... forloop ...
>
> ... endforloop ...
>
>
On 16 February 2010 02:58, mhulse wrote:
>> Hrmm, forloop.counter. It is one of those days. :P
>
> But, how can I tell if it is every third item?
>
> Also, is there a way to check if the current number is even?
>
> In a PHP template, I might do this:
>
> ... forloop ...
>
> ... endforloop ...
>
>
> You could do it like this. There was a discussion recently about mod
> operator and what happens when you want to do something every N times
> but can't find it now for some reason :(
Ah, interesting! Thanks for the code sample, I really appreciate your
assistance.
I will search around for the
I have a piece of data coming back from a model that is wrapped in tags.
How do I remove these in the template?
For instance I have something like:
{{ data.from.model }}
and it will render like this
*some text from the model*
--
--Joel Stransky
stranskydesign.com
--
You received this message
nm, found it. :) just data.from.model|striptags. How cool.
On Mon, Feb 15, 2010 at 9:16 PM, Joel Stransky wrote:
> I have a piece of data coming back from a model that is wrapped in
> tags. How do I remove these in the template?
>
> For instance I have something like:
> {{ data.from.model }}
>
>
I have two query sets with two different where clause on same table
and same columns. Is it possible to have their union.
I tried qryset = qryset1 + qryset2 - It gave me - "+ unsupported
argument"
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
I have two query sets with two different where clauses on same table
and same columns in select. Is it possible to have their union.
I tried qryset = qryset1 + qryset2
It gave me - "+ unsupported operand"
--
You received this message because you are subscribed to the Google Groups
"Django user
On 16 February 2010 03:28, ydjango wrote:
> I have two query sets with two different where clauses on same table
> and same columns in select. Is it possible to have their union.
>
> I tried qryset = qryset1 + qryset2
> It gave me - "+ unsupported operand"
>
> --
> You received this message becau
hi
I am using a TimeField and want to set the default value as current
time.I know the field normalizes to a datetime.time object.In a
DateField ,I can put (default=datetime.date.today) and this will set
the current day .Similarly I tried (default=datetime.now().time) for
TimeField ..and can get a
On 16 Feb 2010, at 08:13 , harryos wrote:
>
> hi
> I am using a TimeField and want to set the default value as current
> time.I know the field normalizes to a datetime.time object.In a
> DateField ,I can put (default=datetime.date.today) and this will set
> the current day .Similarly I tried (defa
thanks ,that worked..
any idea about calculating the duration? I can do a - between two
datetime.datetime objects to get a timedelta.. but that doesn't work
with datetime.time objects
harry
On Feb 16, 12:37 pm, Masklinn wrote:
> Just wrap the thing in a `lambda` and you should be good to go:
On 16 Feb 2010, at 08:37 , Masklinn wrote:
>
> On 16 Feb 2010, at 08:13 , harryos wrote:
>>
>> hi
>> I am using a TimeField and want to set the default value as current
>> time.I know the field normalizes to a datetime.time object.In a
>> DateField ,I can put (default=datetime.date.today) and thi
67 matches
Mail list logo