Hi all! im devoloping a site in django and i need to recive an http request
with an url of this type:
http://testsystemser.cloudapp.net/pago/index
?topic=payment=identificador-de-notificación-de-pago
but i cant make it match with my urlconf in my project, i try with the
following ur:
I need a hand with this problem. I get a "time out" exception when i run
"pip search", but "pip install" works fine. I'm using a proxy and I can't
deactivate it. Does anybody know why it might be happening?
http://pastebin.com/2z7SPqf2
--
You received this message because you are subscribed
tried utf8).
Any help is appreciated.
Matias.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/JgoxLBwvepsJ.
To post to this group, send email to dj
(sorry for my english)
(i open this thread cuase the other thread was for another question)
I have a mobile device application (iOS) and i want to upload an image to my
django application
In my mobile application i create the POST request (and disable csrf in my
django app) using this:
-
yes, thanks.. i try using POST but i get a error 500
i only use this to test
def upload_image(request):
if request.method == 'POST':
return "request.FILES['image']"
return "NO imagen subida"
El 01-05-2011, a las 23:11, А. Р. escribió:
> 2011/5/2 Ma
Thrift: http://incubator.apache.org/thrift/
And if it's not possible use GET to pass the image data to the django
application..
how can i pass de data from a mobile application (without user actions like a
web form) to the django application, and upload, or copy de data into a new
image??
You are missing the enctype form attribute needed for files input fields. Your
form definition should be:
Check http://www.w3.org/TR/html401/interact/forms.html#adef-enctype for details.
Matías
Excerpts from arapaho's message of Thu Mar 17 15:53:45 -0300 2011:
> Hi,
>
> Rather new to
I don't have the solution for your issue, didn't used pyfacebook, yet. But if
you are looking to register users using Facebook OAuth, then django-social-auth
may fit your needs:
http://github.com/omab/django-social-auth/
Then you can use any other Facebook API around to access users content
Hi
The problem is that django template system tries __getkey__ first and as you
are using a defaultdict get key call is creating a new entry with key "items"
and empty list as value.
Try passing dict(prod_pool) to your template.
Regards,
Matías
Excerpts from Szabo, Patrick \(LNG-VIE\)'s
Just refer to the field name, you don't need the class:
prev = self.bbb_set.filter(date__lt=date)
Take a look to field lookup rules:
http://docs.djangoproject.com/en/dev/topics/db/queries/#field-lookups-intro
Excerpts from serek's message of Wed Feb 16 20:51:05 -0200 2011:
> Hi
>
> I have not
Excerpts from taso's message of Fri Jan 28 17:05:21 -0200 2011:
> Hi,
Hi,
> I am using django strictly as a backend for data processing. As such I
> am not using any forms or templates, just database tables as models.
> The page is js driven and POSTing data is causing me some issues.
>
> A
You could use signals[1] to update cache on save event, but I think you
are approaching the issue in the wrong way, why not paginate[2] the
result?
Regards,
Matías
[1]: http://docs.djangoproject.com/en/dev/topics/signals/
[2]: http://docs.djangoproject.com/en/dev/topics/pagination/
Excerpts
Hi,
Is your request.get_host() the same defined in Facebook app settings? (Web site
section if I can recall correctly), facebook doesn't accept 127.0.0.1 as
redirect url and might not accept localhost too.
Check social_auth/backends/facebook.py on
https://github.com/omab/django-social-auth
for
Excerpts from nicolas lubkov's message of Mon Jan 24 04:18:18 -0200 2011:
> hi all is pretty simple my question.
>
> when im making a query in django i use this
>
> result = person.objects.filter(name = "nick", lastname = "smith")
>
> this is like "select * from person where name = 'nick' and
The '?' should be quoted as '%3F' (urllib.urlquote('?')) or it will be treated
as a query parameter (check request.GET in your view ;))
Matías
Excerpts from yanghq's message of Mon Jan 17 05:59:23 -0200 2011:
> hi,
>
> In urls.py a pattern like this:
> (r'^test/(?P\w{3,4})/(?P.*)$',
Yes, it's possible, define them in in your inline class.
Excerpts from mongoose's message of Fri Jan 14 08:53:18 -0200 2011:
> Ok so I've tried it but can't get it to work properly. I am using
> inlines. Is it possible to use raw_id_fields with inlines?
>
> On Jan 4, 9:25 am, mongoose
Don't see the need to use an ajax solution when a simple raw field makes the
work properly. Don't get me wrong, it's good to have several options, just that
I don't see the need.
Regards,
Matías
Excerpts from felix's message of Thu Jan 13 22:14:43 -0200 2011:
> django ajax select will work
Try to reduce the queries on your view, select_related won't help a lot if
using Thread model, try to collect Pun values on your view first and group them
by thread, itertools.groupby could be handy in this case. Try something like:
threads = Thread.objects.select_related('user').filter(...)
The given answers are correct, that's your issue without doubt, create an admin
class for your Priority model and setup a raw_id_field[1]:
class PriorityOptions(admin.ModelAdmin):
raw_id_fields = ('entry',)
register(Priority, PriorityOptions)
Regards,
Matías
[1]:
So, basically you want this:
C.objects.filter(Bref__Dref__id=D_id).values_list('Aref')
Matías
Excerpts from gia...@gmail.com's message of Tue Jan 11 07:58:05 -0200 2011:
> Let's say I have a model like:
>
> class A:
>
> class B:
> Dref = ForeignKey('D')
>
> class C:
> Aref =
El 06/09/10 14:23, Steve Boyle escribió:
Hi,
I've been writing an application that requires a workflow component
and rather than build one from scratch looked around to see what was
already out there.
One app that was mentioned a number of times was "GoFlow" which
apparently is based on
Hi,
We are looking for a freelance django dev located here in Spain,
preferrably in Madrid.
Please, contact me at matiassu...@gmail.com if you want to know more
about this opportunity.
Sorry for the offtopic.
--
You received this message because you are subscribed to the Google Groups
Hi,
What is the recommended way to get all the users whose full_name matches
a given string?
I need to do something like:
User.objects.filter(get_full_name="John Test")
But that doesn't seem to work.
Is list comprehensions the only way to go?
--
You received this message because you are
Sorry for this completely offtopic question.
I'm a systems administrator with programming experience (mostly python
and C) and I love web applications design/programming and I'm pretty
good with html, javascript, css, etc... but I have a really weak point
when it comes to "images" desing. I
Is there any way to register a model on a different app so that on the
admin site I get it on a different "box"?
I've created a custom model, that I'd like to be shown on the "Auth" box
instead of the default one (a box with my app's name).
Thanks!
--
You received this message because you
Hi,
I have a model like:
Class MyModel(models.Model):
content = content.ForeignKey(ContentType)
And in the admin interface I have a dropdown box showing all the content
types I have. Works perfect.
The problem is that on that dropdown box, I have for each item there the
"name"
El 10/01/10 04:18, Ishwor Gurung escribió:
2010/1/10 Matias<matiassu...@gmail.com>:
[...]
Thanks, this will do the trick...
Curious. Why doesn't overriding save(..) do for you?
Because I would have to override the save() method on all Model classes
--
You received this message b
El 09/01/10 17:12, Andy McKay escribió:
On 10-01-08 7:02 AM, Matias wrote:
Is there any recommended way to attach a post_save signal to ALL models?
When you create a signal you can optionally assign a model to listen
too. Not doing that means it is called for all models.
http
Is there any recommended way to attach a post_save signal to ALL models?
The best way I'm thinking of is maybe by using the ContentType class to
get a list of all models and iterate over them registering the signal,
but I'm not sure if this is the best way to do it...
Any comment
sorry, I messed up!
I'm not sure now, i couldn't test it, but maybe you should set the Directory
directive in the specific path where wsgi files are
Order Allow,Deny
Deny from all
Order Allow,Deny
Allow from all
Regards,
Matias.
On Tue, Sep 8, 2009 at 11:04 AM
You should use Directory with the real path, not the alias
Order Allow,Deny
Deny from all
Order Allow,Deny
Allow from all
like in the example :)
Regards,
Matias.
On Mon, Sep 7, 2009 at 5:56 PM, Léon Dignòn <leon.dig...@gmail.com> wrote:
>
> No, I
/wiki/IntegrationWithDjango
HTH,
Matias.
On Mon, Sep 7, 2009 at 2:55 PM, Léon Dignòn <leon.dig...@gmail.com> wrote:
>
> I get a 403 forbidden.
>
> I serve Django with apache2+mod_wsgi. I disabled some plugins I think
> I don't need. Set the listen port to 8000 on lo
If you're using Pagination
http://docs.djangoproject.com/en/dev/topics/pagination/ you can get the
previous and next pages like this:
{{ current_page.previous_page_number }}
If not, check it out. It's a simple way to manage pagination issues.
HTH,
Matias.
On Thu, Sep 3, 2009 at 8:25 PM, Tim
://github.com/sciyoshi/pyfacebook/tree/master
HTH,
Matias.
On Wed, Aug 26, 2009 at 9:58 PM, garagefan <monkeygar...@gmail.com> wrote:
>
> steps followed here:
>
> http://wiki.developers.facebook.com/index.php/PythonPyFacebookTutorial
>
> page with error is here:
>
>
Hi,
I think there is no such filter, so you'll have to code it.
This
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#filters-and-auto-escapingmay
help
HTH,
Matias.
On Tue, Aug 25, 2009 at 5:54 AM, When ideas fail
<andrewkenyon...@gmail.com>wrote:
>
> Thanks, can i s
Hi,
How can I tell which model fields have been modified (this is, the
difference between the Model instance and the data originally retrieved
from the database) from inside the model's save() method?
Any idea?
Thanks a lot!
--~--~-~--~~~---~--~~
You
Matias Surdi escribió:
> I need to hide a couple fields from a model depending on the logged in
> user in the admin interface.
>
> How would you do this?
>
>
> >
>
Replying to myself, here is the solution:
class LimitedCustomUserAdmin(UserAdmin):
inlines
I need to hide a couple fields from a model depending on the logged in
user in the admin interface.
How would you do this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
>
> --
> Ramdas S
> +91 9342 583 065
>
>
> >
Django is compatible with all javascript frameworks. Personally, I
prefer JQuery.
Matias.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
I've noticed that on the admin interface, if a model has for example a
"name" attribute, if I access to the add form with an url like this:
http://localhost:8000/admin/mymodel/add?name=something
The name field is prepopulated with the parameter value.
Is this behaviour documented somewhere?
tdelam escribió:
> Hi Guys,
>
> This might get lengthy but I am trying to get some insight on the best
> way to generate some dynamic forms in a template. The project is a
> survey. Here is my questions model:
>
> class Question(models.Model):
> TRUEFALSE = 1 # a radio button yes/no
Which is the correct or recommended way to accomplish what is described
in the following url with django?
http://www.djangosnippets.org/snippets/11/
My question is, if I have a template like this:
{% for i in args %}{{ i }}{% endfor %}
{{ title }}
{{ name }}
args
{{ args }}
kwargs
{{ kwargs
Hi Andrews,
Look at this:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/
This helped me a lot a couple months ago when I had to do some dynamic
forms. Those forms where generated from data entered by the user in a
previous step.
It can be a bit "messy" if you don't take care, but
I don't think it is really needed.
I think this list is perfectly OK for newbies and advanced users.There
is not a clear line defining when you are a newbie and when you are an
average user as well.
Now, we must search two archives instead of just a centralized one.
Bobby Roberts wrote:
>
Matias Surdi escribió:
> I've followed the documentation on users authentication and it's working
> fine except for one thing.
>
> When a user logs out from the public views, it is also logged out from
> the admin site and when the user logs in in the public view, if it has
>
I've followed the documentation on users authentication and it's working
fine except for one thing.
When a user logs out from the public views, it is also logged out from
the admin site and when the user logs in in the public view, if it has
staff permission it can access the admin site.So
Shouldn't validation be defined in the modell instead of the forms?
Suppose I've a Model wich has some restrictions on the value a field can
get, and then I've a custom form for this model for the admin interface
and two other forms for the public interface.
Does this mean that I've to
forget it, I've found the solution:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#exclude
Sorry...
Matias Surdi escribió:
> What is wrong with the following code?
>
> class IPAddressAdminForm(forms.ModelForm):
> notification_sent =
> forms.Bool
What is wrong with the following code?
class IPAddressAdminForm(forms.ModelForm):
notification_sent =
forms.BooleanField(widget=forms.widgets.HiddenInput,required=False)
class Meta:
model = IPAddress
class IPAddress(BaseModel):
network = models.ForeignKey(Network)
Karen Tracey escribió:
> On Mon, Jan 19, 2009 at 2:06 PM, Matias Surdi <matiassu...@gmail.com
> <mailto:matiassu...@gmail.com>> wrote:
>
> Yes, maybe it's just a problem with sqlite, which is te backend I'm
> using.I'll try with mysql later.
>
> Is
Karen Tracey escribió:
> On Mon, Jan 19, 2009 at 12:40 PM, Ramiro Morales <cra...@gmail.com
> <mailto:cra...@gmail.com>> wrote:
>
>
> On Mon, Jan 19, 2009 at 3:15 PM, Matias Surdi <matiassu...@gmail.com
> <mailto:matiassu...@gmail.com>> wrote
Karen Tracey escribió:
> On Mon, Jan 19, 2009 at 11:49 AM, Matias Surdi <matiassu...@gmail.com
> <mailto:matiassu...@gmail.com>> wrote:
>
>
> Hi,
>
>
> I'm trying to run a sql query with parameters taken from a dict, here is
> the releva
Hi,
I'm trying to run a sql query with parameters taken from a dict, here is
the relevant part of the code:
query = "select * from table where name='%(name)s'"
parameters = {'name':'valueofname'}
cursor = connection.cursor()
data =
Daniel Roseman escribió:
> On Jan 12, 5:38 pm, Matias Surdi <matiassu...@gmail.com> wrote:
>> Hi,
>>
>> I've two models related by a ForeignKey field.
>>
>> I'd like to have the possibility of adding child objects (side "One" of
>> the relati
Hi,
I've two models related by a ForeignKey field.
I'd like to have the possibility of adding child objects (side "One" of
the relation) from the admin interface of the parent ("Many" side of the
relation).
Example:
class Child(models.Model):
name = models.CharField(max_length=10)
,shouldn't it?.
Thanks for your help :-)
bruno desthuilliers wrote:
> On 8 jan, 16:22, Matias Surdi <matiassu...@gmail.com> wrote:
>> Is there any way to iterate over all the fields in a model instance on a
>> template?
>
> Not directly. The fields names are accessible thru
Is there any way to iterate over all the fields in a model instance on a
template?
I'd like to have a "default" template which iterates over whatever model
yo give it and prints all its field on a table.
Any help will be appreciated.
--~--~-~--~~~---~--~~
> implement. Just google YUI.
Shoudn't it have been "yahoo for YUI" ?
:-D
phoebebright escribió:
> I'm a great fan of YUI and they have some nice tabs that are easy to
> implement. Just google YUI.
>
>
> On Jan 8, 10:03 am, Matias Surdi <matiassu...
JQuery UI?
Margie escribió:
> Hi,
>
> This is not a directly a django question, but since django is the only
> web framework I know (and it's really cool, by the way!) I hope it's
> ok to post this here.
>
> Could someone advise me on the "best" way to do tabs? IE, I'd like to
> have a set
Hi,
For some reports, I need to allow the users to enter a sql query.It is
required for this query (a sql SELECT) to be run as a read only database
user.
Any idea how to implement this with django?
Thank you very much.
--~--~-~--~~~---~--~~
You received
I've done it, although it was not a trivial task.
This helped me a lot:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/
Xan wrote:
> Hi,
>
> I just want to know if django support dynamic fields, that is the
> option of not specied the type of field in the model and that user
> could
Hi,
Suppose I have the following model:
class Document(BaseModel):
name = models.CharField(max_length=150,blank=True)
description = models.TextField(blank=True)
file =
Models.FileField(upload_to="data/documentation/document/%Y/%m/%d",blank=True)
And suppose I've a model I
I do the reports in HTML, using django templates and then instead of
send the rendered result to the browser, I filter it throught htmldoc
linux utility.
Works like a charm for me.
Abdel Bolanos Martinez wrote:
> Please can any one give me good references about tools for create PDF
>
Maybe this helps:
http://www.b-list.org/weblog/2008/dec/24/admin/
Tirta K. Untario wrote:
> This is a continuation from my last question.
>
> created_by = models.ForeignKey(User)
>
> I want to automatically use current logged in user as value. Can I put the
> code inside def
Finally I've solved it with smart_str function.
Matias Surdi wrote:
> Hi, I'm trying to save on a FileField some generated data (a text file
> obtained from a template):
>
> The relevant code is:
>
> out = Template(open("/path/to/template").re
Hi, I'm trying to save on a FileField some generated data (a text file
obtained from a template):
The relevant code is:
out = Template(open("/path/to/template").read())
context = Context({})
if request.POST["name"] != "":
name =
e you must add the
"next" var in the action field on your own.
The latter is the best IMHO.
Hope that helps!
Regards,
Matias.
On Mon, Dec 22, 2008 at 11:47 AM, Jarek Zgoda <jarek.zg...@gmail.com> wrote:
>
> I'm seeing strange behaviour of login_required decorator: an
e:
return HttpResponse('disabled account')
else:
return HttpResponse('invalid login')
else:
*return render_to_response* ('login.html', {'username': username,
'password' : password})
Regards,
Matias.
On Tue, Dec 16, 2008 at 1:17 AM, vierda <m...@pensil.com
e:
return HttpResponse('disabled account')
else:
return HttpResponse('invalid login')
else:
*return render_to_response* ('login.html', {'username': username,
'password' : password})
Regards,
Matias.
On Tue, Dec 16, 2008 at 1:17 AM, vierda <m...@pensil.com
Hello,
You should check by which method was called your view.
something like
if request.method == "POST":
#now you can use request.POST
else:
#just show the template
Hope that helps,
Matias.
On Mon, Dec 15, 2008 at 5:15 AM, vierda <m...@pensil.com> wrote:
&g
Try checking the specific exception and its message.
Matias.
2008/12/15 Steve <sgibso...@gmail.com>
>
> OK. I'm having second thoughts on suds. It seems to work great some
> times, but not so great on others. I have the following code, where
> vid is the wsdl of the video.
&
Hello,
The widget kw can be either a class or an instance. You can do
xField(widget=xWidget(choices=mychoices))
Or you can create your xField with your xWidget as default widget and let
the field to accept the choices kw.
Matias.
On Fri, Dec 12, 2008 at 8:44 AM, commander_coder <
commander
that helps
Matias.
On Fri, Dec 12, 2008 at 10:22 AM, Dennis Schmidt <metzelti...@googlemail.com
> wrote:
>
> Hello,
>
> I have a problem with ModelForms in the django admin site. I want to
> exclude some fields so they won't be displayed when I edit the model
> in the adm
Hi,
Which is the best/recommended way to modify admin css ?
I know I can copy the admin templates to my templates dir and modify
them as I wish, but that could be a problem in the future if these
templates are updated in a new version and I want to switch to that version.
Thanks in advance.
This is exactly what I'm trying to do.
Thanks for your help.
Low Kian Seong escribió:
> Have a go with this:
>
>
> http://gtitsworth.blogspot.com/2007/07/chaining-selects-with-django-and-ajax.html
>
> On Wed, Nov 12, 2008 at 3:54 AM, Matias Surdi <[EMAIL PROTECTED]&g
Hi,
I want to have on the admin interface a dropdown box and let the user
choose one of several options.Then, depending on this selection, update
(maybe through ajax) the values available on the second one.
Could anyone give me some guidelines or documentation about how is the
best way to
all the options of a multiple choice field, you must use
a ManyToMany relationship instead of a ForeingKey.
Regards,
Matias.
On Fri, Oct 24, 2008 at 4:23 PM, Lar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've been beating my head against this for a couple of days. I am
Hello everyone,
Is there a way to reset the password of the trac account?
I didnt find even an email address to do this request.
Thanks in advance,
Matias.
--
:wq
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
http://docs.djangoproject.com/en/dev/ref/settings/#date-format
Botolph escribió:
> I would like to change the formatting of dates in the admin from -
> MM-DD to DD-MM-. I have set "DATE_FORMAT" in the settings file,
> but that only changes list_display and not the DateField input. In a
>
The same I do
{{form.interface.initial}}
I'd like to do something like
{{form.interface.value}}
How can I do this?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Ignore it.
Solved
Matias Surdi escribió:
> I want to output an
>
> Thanks.
>
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
I want to output an http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---
James Bennett escribió:
> The Django team is pleased to announce the release of Django 1.0 this evening:
>
> Download: http://www.djangoproject.com/download/
> Release notes: http://docs.djangoproject.com/en/dev/releases/1.0/
>
> Have fun with it, and we'll see you in a few days for DjangoCon.
Hi,
I'm trying to figure out how to use django models without an SQL-capable
database. The database I'm trying to use are mainly simple plaint text
configuration files.
I think the way to go is creating a custom manager. Is that correct?
Any better idea?
Thanks.
Hi.
I've the following model:
class ExamAttributeCalification(models.Model):
exam_result = models.ForeignKey(ExamResult,
edit_inline=models.TABULAR, num_in_admin=1)
exam_attribute =
models.ForeignKey(ExamAttribute,limit_choices_to={"exam__id":1})
calification =
is it possible to override get_FOO_url() for a FileField in a model?
if not:
What is the recommended way to require login for users to download a file?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Karen Tracey escribió:
> On Fri, Apr 25, 2008 at 8:02 AM, Matias Surdi <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Matias Surdi escribió:
> > Sorry, there was an error in the previous message:
> >
>
Matias Surdi escribió:
> Sorry, there was an error in the previous message:
>
>
> With the following model:
>
> class Candidate(models.Model):
> name = models.CharField(max_length=100,unique=True)
> file =
> models.FileField(upload_to="curr
Sorry, there was an error in the previous message:
With the following model:
class Candidate(models.Model):
name = models.CharField(max_length=100,unique=True)
file =
models.FileField(upload_to="curriculums/%Y/%m/%d",max_length=300)
def _get_FIELD_url(self,field):
Sorry, there was an error in the previous message:
With the following model:
class Candidate(models.Model):
name = models.CharField(max_length=100,unique=True)
file =
models.FileField(upload_to="curriculums/%Y/%m/%d",max_length=300)
def _get_FIELD_url(self,field):
With the following model:
class Candidate(models.Model):
name = models.CharField(max_length=100,unique=True)
file =
models.FileField(upload_to="curriculums/%Y/%m/%d",max_length=300)
def _get_FIELD_url(self,field):
return "http://www.google.es;
if getattr(self,
Hi again,
I can't get to work the order_by('related_table.field') as described in
http://www.djangoproject.com/documentation/db-api/#order-by-fields
Is this documentation correct?
I'm using django from SVN trunk.
Thanks.
--~--~-~--~~~---~--~~
You received
Matias Surdi escribió:
> Hi.
>
> Which is the correct way to zero-pad an integer in templates? is there
> any filter?
>
> Thanks a lot.
>
>
> >
>
Found it: variable|stringformat:"04i"
--~--~-~--~~~---~--~
Hi.
Which is the correct way to zero-pad an integer in templates? is there
any filter?
Thanks a lot.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
porting-via-e-mail
>
>
> Regards,
> Marc
>
> El jue, 10-04-2008 a las 09:46 +0200, Matias Surdi escribió:
>> Hi,
>>
>> I've read somewhere that there is a way in django to send exceptions by
>> mail. I can't remember where.
>>
>> Does anyo
Hi,
I've read somewhere that there is a way in django to send exceptions by
mail. I can't remember where.
Does anyone know where could I find documentation about that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi.
I'm trying to upload files to a directory that is not under the web
server root, for security reasons.
I wonder if is it possible to override the model's "get_FOO_url()"
method so that It will return some form of encoded url.
I've already achieved this by defining in my model's class a
Matias Surdi escribió:
> Hi.
>
> How can I pass an initial value to a newforms form's widget?
>
> I know that there is an "initial" parameter for widgets, but what if I
> don't know that parameter's value beforehand?
>
> What I'm trying to do is to b
Hi.
How can I pass an initial value to a newforms form's widget?
I know that there is an "initial" parameter for widgets, but what if I
don't know that parameter's value beforehand?
What I'm trying to do is to be able to make a request to an url and
depending on some url parameters generate
Hi,
Is it possible to pass keyword arguments to a custom inclusion tag?
example:
@register.inclusion_tag('shared/form.html')
def form(form, action="",method="POST"):
return {"form": form,
"action": action,
"method": method}
I'd like to call this from a
1 - 100 of 106 matches
Mail list logo