One minor edit to that:
form.save(request) -> form.save(request, kalender)
On Thu, May 31, 2012 at 8:47 PM, Kurtis Mullins wrote:
> Hey,
>
> I tried re-writing your view and form for you -- but I ran into a snag. I
> don't read German so other than code-wise (and a
Hey,
I tried re-writing your view and form for you -- but I ran into a snag. I
don't read German so other than code-wise (and a couple of obvious words,
like kalender and participants) I'm not really sure what you're trying to
accomplish.
I do see one obvious issue, though. Participants is a
On 31 mai, 20:09, Schmidtchen Schleicher
wrote:
> Thank you for your quick answer, but it doesn't really work. It raises the
> exception "can't assign to operator"
> My view now looks like this:
>
> @login_required
> > def create_termin(request, calid, year=None,
On Thu, May 31, 2012 at 6:54 PM, Andre Terra wrote:
> No IDE recommendations, please!
>
> There are many threads regarding that, so please search around, OP.
>
> As for template debugging, this is currently a limitation in Django itself
> AFAIK, but efforts are being made to
Dear Django-users,
Any recommendations on a Django forums package that's up to date and
integrate-able with an existing Django?
Checked www.djangopackages.com and tried PyBBM, DjangoBB, & others, but the
code is either too tangled to integrate cleanly with another site, or the
code is for an
hello guys, I have this MyUser class with a OTO to auth.User. I was trying
to make an inline for it with form=UserCreationForm, however django
complains that the object doesn't have a set_password method (as expected),
so, is ok to inherit as in MyUser(auth.User) on this case, even though it
does
On 31 May 2012, at 21:21, DF wrote:
That's interesting, but mine seems like it could be less involved. This is what
I attempted, which failed:
http://dpaste.org/55T9x/
Well, you don't need all the other stuff I discussed, but the key thing is:
given some variable (in my example it was
That's interesting, but mine seems like it could be less involved. This is
what I attempted, which failed:
http://dpaste.org/55T9x/
On Thursday, May 31, 2012 12:32:26 PM UTC-4, DF wrote:
>
> I'm trying to place markers based on the latitude and longitude stored in
> a model on a Google Map
I don't think anyone will be able to give you a good evaluation
without knowing more about the requests. Django itself could probably
handle 10k requests per second returning a simple "hello world"
response, or less than 10 if you are returning very large/difficult to
generate responses. It is
I use Flex for the client side and XML between client and server. I am
a "one man team" and so elegance sometimes gets sacrifices for "it
works". My typical deploy has been
/var/www/html/my flex swf and html code
And
/home/projectname/current/djangositename
This works well, except that I
Bump!
On Wednesday, May 30, 2012, Subhranath Chunder wrote:
> As the subject suggests, wanted to discuss, acquire and share some
> knowledge on scaling django installation.
>
> Firstly, my current project is a product Reviews platform, and I wanted to
> benchmark or load test the current
Thank you for your quick answer, but it doesn't really work. It raises the
exception "can't assign to operator"
My view now looks like this:
@login_required
> def create_termin(request, calid, year=None, month=None, day=None):
> kalender = get_object_or_404(Kalender,pk=int(calid))
> if
Here's how I merge .fdf with pdf
def getPDFContent(assessment):
completedfdf = getCompletedForm(assessment)
pdffilename = getFilename(assessment, 'forms') +".pdf"
pdftk = ["/usr/bin/pdftk" ,'pdftk'][os.name=='nt']
cmd = '%s %s fill_form - output - flatten' %
On Thu, May 31, 2012, DF wrote:
>Any insight on how to properly loop through items in a stored Django object
>with lat, lon info and place these on a Google Map using the API would be
>very appreciated.
I do it like this:
I discovered our webserver was leaking db connections because of the
use of threading.Thread in combination with the Django ORM. Looking
through the Django 1.4 release notes it seems that connection objects
are safe to share among threads. Is there something special that I
need to do to make sure
I'm trying to place markers based on the latitude and longitude stored in a
model on a Google Map using the API and HTML5 geolocation.
The issue is how to loop through the lat/lon info for each object stored in
the database within JavaScript tags using template keywords, which I'm not
sure can
Sure. They're just Python modules. All you need to do is:
1. Include the files: __init__.py and models.py
2. Add the application to your settings.py, for example: myproject.myapp.subapp
It *should* work, although I haven't personally tested it yet.
On Thu, May 31, 2012 at 7:46 AM, vijay
On Thu, May 31, 2012 at 12:37 AM, Stanley Lee wrote:
> Am I supposed to see a 404 message upon completing this section of the
> tutorial? https://docs.djangoproject.com/en/1.4/intro/tutorial03/
>
copy and paste the traceback
> Sorry for the brevity as I'm trying to make the
I found a noce solution, it only needs this tiny patch already proposed on
the tracker :
https://code.djangoproject.com/ticket/17856
There's no reason this patch could not be merged in the trunk, it's
self-contained
With this, I can override get_inline_instances in my ModelAdmin :
def
can we write one app inside some another django-app .
please suggest any reference or articles
--
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@googlegroups.com.
To unsubscribe from this group,
On May 31, 8:24 am, vijay shanker wrote:
> hi
> i defined three models and put them in /appname/models/ a.py, b.py,
> c.py. and a __init__.py in which i import all classes defined inside
> a.py/b.py/c.py.
>
> when i try to do a ./manage.py sqll appname at prompt , it simply
hi
i defined three models and put them in /appname/models/ a.py, b.py,
c.py. and a __init__.py in which i import all classes defined inside
a.py/b.py/c.py.
when i try to do a ./manage.py sqll appname at prompt , it simply
passes of without any output.
what could be possibly done to debug it .. i
Am I supposed to see a 404 message upon completing this section of the
tutorial? https://docs.djangoproject.com/en/1.4/intro/tutorial03/
Sorry for the brevity as I'm trying to make the question concise.
Thanks in advance!
--
You received this message because you are subscribed to the Google
No IDE recommendations, please!
There are many threads regarding that, so please search around, OP.
As for template debugging, this is currently a limitation in Django itself
AFAIK, but efforts are being made to improve the situation.
Sincerely,
Andre Terra
-- Sent from my phone, please excuse
On Wednesday, April 28, 2010 2:55:26 PM UTC+2, Daniel Roseman wrote:
>
>
> The inline formset itself (rather than its forms) has an "instance"
> attribute which refers to the instance of the parent form.
>
Sorry to bring back a two-years old post, but is there still a way to do
this in
On 28/05/2012 9:51, Madhu wrote:
> Hi! all
> I create client & through client i call the web service.
> which returns pdf file, i want to stored that file directly.
> I use this
> response['Content-Disposition'] = 'attachment; filename= 'demo.pdf'
> but it will ask the user to store the file, but
On Thu, 2012-05-31 at 00:40 -0700, bruno desthuilliers wrote:
> > I have just noticed that on deleting an object, the images and files
> > stored on disk for this object do not get deleted. Is this a bug or
> a
> > feature?
>
>
On May 31, 9:14 am, kenneth gonsalves wrote:
> hi,
>
> I have just noticed that on deleting an object, the images and files
> stored on disk for this object do not get deleted. Is this a bug or a
> feature?
hi,
I have just noticed that on deleting an object, the images and files
stored on disk for this object do not get deleted. Is this a bug or a
feature?
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Hi,
I have a question to the seasoned Django developers, I am relatively
new to Django and have been developing on Aptana Studio 3.0 since one
month. While I think its a great free product, it seems debugging is
only limited to url.py and views.py. Beyond that there is no way to
set a break
Good point. You can display the value but again.. you need to make sure
it's a proper (not changed via post) value (clean() / save())
W dniu środa, 30 maja 2012 22:25:35 UTC+2 użytkownik Alexandr Aibulatov
napisał:
>
> For example on second method i can change post, board id's via html,
> and
31 matches
Mail list logo