/msgid/django-users/CAHKQagH-dFwiwSePpKoSGzUKR71CF92s8g%3DfVRpiiBS-2w1vdA%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAHKQagH-dFwiwSePpKoSGzUKR71CF92s8g%3DfVRpiiBS-2w1vdA%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.googl
t; To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5271FB3F.5090407%40consbio.org
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this
and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google
; For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gro
s%2bunsubscr...@googlegroups.com>
> .
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at
> http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
> For more options, visit
> htt
group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Antoni Aloy López
Bl
trolling,
as the trolls usually means the project is mature enought, and Django
really is.
Thanks for reading!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Antoni Aloy López
Blog: http://trespams.com
S
ers" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
Antoni
jango-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.
jQuery Forms http://jquery.malsup.com/form/
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@google
.
> Thanks in advance.
José, this is explained int the django docs
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"
. We have also updated to the last psycopg2, just in
case, but without luck.
Any ideas would be greatly appreciated
Best regards,
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django use
highlighting for python.
>
> On Oct 14, 12:34 pm, Antoni Aloy <antoni.a...@gmail.com> wrote:
>> Take a look at
>>
>> http://bitbucket.org/jezdez/django-dbtemplates/wiki/Home
>>
>> Hope it helps!
>>
>> 2010/10/14 pixelcowboy <pixelcowbo...@gmail.c
up at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
t you can clone in a separated dir.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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
2010/10/2 David M. Besonen <dav...@panix.com>:
> On Sun, 26 Sep 2010 11:36:06 +0200
> Antoni Aloy <antoni.a...@gmail.com> wrote:
>
>> http://code.google.com/p/trespams-vim/
>
> i assume you've seen Alain's webpage:
> VIM as Python IDE
> http://blog.dis
o
such a problem as it's case sensitve. Sorry but I can't test it in
Windows, just guess.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
rs" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
r. If
you just need a desktop editor just try the one that fits better in
your daily work, it could be as simlpe as gedit o kate or as bloated
as Aptana. Just try and you'll find the best IDE *for you*.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received thi
Django in the project.
Each web service mapping is in its own Python packages. The Django
urls and views just uses that package.
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
google.com/p/trespams-vim/
Happy coding!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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.
check what each letter means on
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html.
To server files the Apache server has to have read permisions. To
create files it has to have write permisions.
Best regards,
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
Y
, ... But I'd like to
know other's thoughts.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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 u
2010/8/2 creecode <creec...@gmail.com>:
> Hello all,
>
> djangoproject.com appears to be inaccessible to me. Is anyone else
> having problems? Is anyone able to access it?
>
> Toodle-looo...
> creecode
>
http://downforeveryoneorjustme.com/
works
n your application.
Just my 2 cents.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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 from th
s able to map the Django model response directly to the
grid (well almost), but I don't know if this is possible in Flexigrid.
Anyway, you can create your own structure, fill it from the model and
then dump it to json.
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
instance on mod_python? If this is
the case it's a bug with mod_python and Postgres. Change to wsgi and
the problem would dissapear.
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Gro
> to make it braindead simple we've hardcoded the paths.
> On the example you've linked: There is only a picture in the download
> section, no code.
Use subversion Luke :)
Sorry I can't resist. ;)
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message becau
sers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Djan
mple of how to use a customized form template with fields
> and labels already there.
>
This is explained in the docs
http://docs.djangoproject.com/en/dev/topics/forms/, see Customizing
the form template
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
Y
els.ForeignKey(Poll)
> choice = models.CharField(max_length=200)
> votes = models.IntegerField()
> def __unicode__(self):
> return self.choice
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
>
aged.
If nobody can access throught your IP check your firewall rules.
Best regards,
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
lly difficult to say if Django is the right technology for
your project, but at least you can do your first prototype rally fast
and test for yourself.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google
w each
day, but it's a great tool.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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 f
of support of Django
templates and (the biggest one) the high machine requisites of
Eclipse.
Django templates shoud support Django tags and filters, HTML, CSS and
Javascript, This is enougth. Code completion on Django tags would be a
nice add on, but Eclipse templates is usually enought.
Best regard
I would use a custom template tag with cache
El 08/07/2010 18:17, "Andy McKay" escribió:
On 2010-07-08, at 9:07 AM, Martin Tiršel wrote:
> 1.) Where is the right place to place news loader?...
Middleware is not the appropriate place, a context processor is the
appropriate
deploy small applications on cheap vps. But
programing Django is addictive and for sure you'll finish with a
dedicated server :)
Best regards,
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"D
Try to use lazy translation.
El 16/06/2010 23:09, "Aaron" escribió:
Well what happened was I have a forms.py
which has
CONSTANT = _("Hello World")
x = {'var': CONSTANT }
and in the django.po, I do have a translation
msgid "Hello World"
msgstr "xxx"
But it doesn't show
Just modify your server configuration to directly serve the folder and
do not sent it to django. It's the same you'll do for media files.
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google
2010/5/17 Russell Keith-Magee <russ...@keith-magee.com>:
> On Mon, May 17, 2010 at 6:56 PM, Antoni Aloy <antoni.a...@gmail.com> wrote:
>> Hello,
>>
>> On the main Django page the official version is 1.1.1 but there is a
>> new 1.1.2 version even docume
Hello,
On the main Django page the official version is 1.1.1 but there is a
new 1.1.2 version even documented if you make a search on the Django
site. Is the 1.1.2 officialy supported?
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because
lp?
>
> --
> 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 from this group, send email to
> django-users+unsubscr...@googlegrou
>> Kind Regards.
>> --http://www.arkeoloji.web.tr
>
> --
> 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 from this
ng to location of your devs.
>
> Mike
>>
>> Cheers,
>> Guillermo
>>
>
> --
> 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.
>
@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
> django, i get constraints failed
>
> i made a test db and tested this and worked, copied the two columns to
> another table fine, also tried recreating the model w/ blank=true and
> null=true figuring maybe some of my other columns were requiring
> something
>
> anyone know wh
lp.
>
>
You can't use the admin as is to do that. You could write you own form, you
own display data etc. but in my oppinion is too much effor. Perhapts the
easy way is to write a separate page, link in the admin and try to make the
dessing to much as much as possible. You have to be prepared
o documentation about forms
http://docs.djangoproject.com/en/dev/ref/forms/api/#ref-forms-api
Django documentation us much superior :-P
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google Groups
"Django use
, it has Django template syntax
support as well as Django project support.
It's a nice and fast editor, and it has one of the best autocomplete
feature for Python and Django that I have seen so far.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this m
in advance.
Hi Ricardo,
Just have a look at
http://code.google.com/p/appfusedjango/source/browse/#svn/trunk/appagenda,
you'll find an agenda example with different languages.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subs
he development
team and for that she must understand the django template system as
well as subversion and to be able to code without Dreamweaver.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
You received this message because you are subscribed to the Google G
and giving them a change language form?
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
s/306
>>
I migrated my own blog (trespams) from Wordpress to Django. The main
difficult was to take care of tags and html conversions. You can
mantain url with Django Redirect and hardcondig some of the others in
urls.py.
I had to create a migration script but this was just a matter of hours
roblem may lie?
Are you caching your pages?
Are you using Django ORM?
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
gt; return HttpResponse(output)
>
> >
>
At first sight: you need triple quote string not single.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
et_aggregation
result = query.execute_sql(SINGLE)
File
"/usr/local/virtualenvs/trobacasa/lib/python2.5/site-packages/django/db/models/sql/query.py",
line 2369, in execute_sql
cursor.execute(sql, params)
ProgrammingError: can't adapt
--
Antoni Aloy López
Blog: http://trespams.com
ould i download and install ajaxcontroltoolkit.
>
To use ajax you need to be able to make AJAX connections through
javascript and make your view.py code to return the right format
depending on the request (html, xml, json). So theres nothing special
you need to install.
--
Antoni Aloy López
Blog: http://tres
classes that
> are instantiated.
You can create a factory for the form. That is, given the information
from the html, you choose wicht form to instantiate.
def get_form(param):
if param == 'op1':
return Form1
elif param =='op2':
return Form2
...
On the view file
MyForm = get_form(par
ur own code, tune your database, then your web server and
then perhaps you have to consider other server options.
In our case our reason to move from apache+wsgi configuration to a
ngnix + WSGI CherryPy/Tornado configuration not was performace but
resources. Even loosing some performance the relation be
,
to set the breakpoint in the code. When I really need a visual
debugger and more advanced features I run python manage.py runserver
--noreload with winpdb, a nice graphical debugger which has nearly
everithing I like to have in Netbeans IDE.
--
Antoni Aloy López
Blog
uration with CherryPy in WSGI mode involves a nginx
server acting as a reverse proxy and serving the media files.
I use the configuration without nginx pointing directly to the WSGI
server just to make sure that all the media points to right server.
That is, that I have
2009/9/13 Antoni Aloy <antoni.a...@gmail.com>:
> 2009/9/13 Bret Taylor <btay...@gmail.com>:
>>
>> I am one of the authors of Tornado (http://www.tornadoweb.org/), the
>> web server/framework we built at FriendFeed that we open sourced last
>> week (see ht
using Tornado with your Django projects,
> please let us know what bugs you find so we can fix them. Any and all
> feedback is appreciated.
>
We're acually using Cherrypy, so it would be quite easy to test and
check the performance. We'll post any issues we found.
Thank you!
--
{% endfor %}
>
>
> {% endfor %}
>
>
>
>
>
> {% endblock %}
>
I would add surronding the table code, but I can't see
any problem. Please post the error. In my oppinion you'll have to
check the dataarray as it se
def __unicode__(self):
return u'%s : %s' % (self.id, self.name)
On the other hand it you can use also list_display, but requires to
create an admin.py file.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You
oth live perfectly with Django.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to d
e name of your project, isn't it? You have to remember to
include the url for the translation javascript as
the documentatios is well explained.
On the other hand, I have experienced some problems getting the
javascript keys from the templates. The workarround I have found is to
have all the javascri
a rapid development and that you have lots,
tons of libraries and routines that are goint to help you. Actually
developing web applications for internal use has lot of sense and
protects your inversion, as the actual application you're making today
for internal use, coud be accessible from outside th
; for i in xrang(10):
> insert checkbox
>
> thanks for reply
>
>
You can create a template tag to do the work for you and pass the
number of items you want as a parameter. You can also create using
javascript and use a django template variable to set the counter.
--
Antoni Aloy López
before it's downloaded?
Take a look at
http://blog.kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/
to port to Django or http://www.djangosnippets.org/snippets/491/
On this way you can control who has the rights to download a file
without password protecting it.
Hope it helps!
--
Antoni
e you sure
you're saving it in the database?
>From your configuration I just see python2.3 too old for my
preferences. You should also use Django 1.0.2 as its the last estable
version (if you don't want to work in the cutting edge of course).
Hope it helps!
--
Antoni
filename), 'w')
> resizedImage.save(imagefile,'JPEG')
> imagefile = open(os.path.join('/tmp',filename), 'r')
> content = File(imagefile)
>
>
> path = 'img/testupload/2009/06/20/'
> imagepath = path + filename
>
> #my_object = ImageTest.objects.all()
>
ould be to create your own template tag. Write it and use
it in the footer. Remember that is just Python code, so you can use
the Django cache API. Use the template tag in the base.html and
inherit the other templates from base.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~
s
http://code.google.com/p/appfusedjango/source/browse/#svn/trunk/thumbs_prj?
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&quo
hould avoid this kind of
posts.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
t a real table? I'm confused ...
Please check http://docs.djangoproject.com/en/dev/topics/http/file-uploads/
it would help you a lot to deal with file uploads.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this mess
rom auth_user table.
>
> class details(models.Model):
> new_foreign_col =
>
http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey
Check: ForeignKey.to_field
Hope it helps!
--
Antoni Aloy López
Blog:
nd this could have a great impact in performance. It depends on
your needs and application.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
wyou test it with the noreload parameter?
On the other hand I prefer to use
import pdb; pdb.set_trace()
in my code to set the breakpoint.
You can also use winpdb, or even the Eclipse+pyDev debugger, but you
have to run manager with the noreload option.
--
Antoni Aloy López
Blog: http://trespams.com
S
ect.com/en/dev/ref/request-response/)
or you can rethink your application urls so they could be as:
http://example.com/data/2/1#label//fetch
so they could match
^data/(?P\d+)/(?P\w+)/(?P\w+)/(?P)/$
hope it helps.
--
Antoni Aloy López
Blo
the category tree.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@goo
2009/5/10 Bro <coolpari...@gmail.com>:
>
> How to create a correct Tree of category ?
>
Take a look at django-mptt at http://code.google.com/p/django-mptt/ it
would help you a lot.
--
Antoni Aloy López
Blog: http://trespams.com
Site:
>
You can save the previous page in a session variable before making the
redirect and then use it in the foo page.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed
_authenticated %}, the user object is only
> available in one request but will be dissapeared in the next request.
In your render_to_response don't forget to add
context_instance=RequestContext(request)
Hope it helps!
--
Antoni Aloy López
Blog: http://tres
lished')
> def _unicode_(self):
__unicode__(self)
with two underscores
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
for that
http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/,
that allows us to mantain diferent versons of applications with their
own dependencies.
Best regards,
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~-
;> searching to your models. Are these better than the mysql fulltext
>> searches?
I prefer to stay away from database indexing so the application is
database agnostic. I have integrated xapian successfully in some
projects using django-xapian, and it works quite well. You can see it
in action in t
see which querie consumes more time, it should be the cron job one.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Django, I think it's worth as it could
make the project more maintenable in the future.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&q
provider. Is there any reason why I should use Django on my
> site, on the Google App Engine?
> --~--~-~--~~~---~--~~
Is there any reason you should'nt? Plain CGI code sounds quite old
even for me ;)
--
Antoni Aloy López
Blog: http://tres
2009/2/28 NK B <nkbalaj...@gmail.com>:
>
> hello
> i 'm use first time. so don't know about DJango so u help me how
> installed it and develop it
>
>
Just follow the Django tutorial and the ask in the list any problems you have.
Best regards,
--
Anto
here, but we'll see.
>
> In any case, you'll find the code on github:
> http://github.com/matthiask/feincms/tree/master
>
>
> Thanks,
> Matthias
>
>
It seems very nice. I'm going to give it a try. :)
Thank you!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http
2009/2/19 João Olavo Baião de Vasconcelos <joaool...@gmail.com>:
> On Wed, Feb 18, 2009 at 7:17 PM, Antoni Aloy <antoni.a...@gmail.com> wrote:
>>
>> This is a quite nice tutorial, perphaps it would help you.
>> http://www.carthage.edu/webdev/?p=12
>
> Tha
quite nice tutorial, perphaps it would help you.
http://www.carthage.edu/webdev/?p=12
The LDAP backend is quite simple, as it Active Directory backend, so
perhaps you can debug it and tell where is your problem. On the other
hand, remember that the ldap backend would be begore the default
backend.
--
t;application/x-www-form-urlencoded",
..."Accept": "text/plain"}
>>> conn = httplib.HTTPConnection("musi-cal.mojam.com:80")
>>> conn.request("POST", "/cgi-bin/query", params, headers)
>>> response = con
t]
>
>
>response = HttpResponse ("newUrl")
>#¿POST?
>return HttpResponseRedirect(response)
>
After a post you should use a HttpResponseRedirect(url). If you need
to have access to the post parameters an option is to save them in a
session, or encode them
(city)
>
> Could you please give me some idea?
>
Test your Ajax URL agains the view directly with the browser. It's
seems there is some kind of problem there.
view: def test_1(request, zipcode, pro):
url (r'^ajax/test_1/(\S+)/$', test_1)
At firsth sight they don't match with
2009/2/10 laspal <amit.las...@gmail.com>:
>
> hi,
> Does anyone has a working example of django mptt. I am not able to
> implement it.
>
On the docs you have the way to go. I've followed them and it works for me.
Django-page-cms also uses it, so you can also look there.
Hop
e/browse/#svn/trunk/jqagenda
It uses a slighty patched version of jqgrid.
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
1 - 100 of 145 matches
Mail list logo