Dear community,
I'd like to inform you how I overcame the problem:
instead of using
"List.objects.last().a"
to access field "a" of the last instance of class List, I did it like so:
m=List.objects.last().pk
List.objects.get(pk=m).a
Best regards,
Stefan
Kani Sbt schrieb am Don
Hi Migui, thanks for your input. It didn't work.
Migui Galan schrieb am Donnerstag, 26. Oktober 2023 um 09:27:48 UTC+2:
> Hi Stefan, sorry i thought the process you are working is in POST request.
> Try to place your func() after formchoices3.
>
> On Wed, Oct 25, 2023 at 4:
Hi Migui,
I'm enchanted to receive such a quick answer.
1. It's MyForm1_2_3_4() because it's the answer to the first Get request
while the page is opened
2. Why would I try to save the form to the data base?
Best regards, Stefan
Migui Galan schrieb am Mittwoch, 25. Oktober 2023 um 03:39:16 UTC
Hello everyone,
this is a repost of
https://stackoverflow.com/questions/65508291/how-to-use-the-postgis-aggregate-function-st-asmvt-with-django-orm
(click for nice
formatting).
I'm providing the problem description below as well.
Thank you, for your kind consideration!
Best, Stefan
Hi guys, please read my Stackoverflow
question:
https://stackoverflow.com/questions/63862762/django-channels-correct-way-to-reject-an-unauthorized-websocket-request
I'm having an issue rejecting a websocket connection and have the client
receive the associated code (unauthorized, bad page,
'timedelta'
> >>>
>
> Any idea? Thanks a lot.
You're missing an additional datetime. Either:
>>> from datetime import datetime
or
>>> future_question = Question(pub_date=timezone.now() +
>>> datetime.datetime.timedelta(days=30))
When I starte
Am 11.10.2018 um 18:44 schrieb Stefan Bethke mailto:s...@lassitu.de>>:
>>>> from django.contrib.auth.models import AnonymousUser
>>>> AnonymousUser.is_authenticated
>
The answer is of course to use an instance, not the class:
>>> from django.cont
omehow managed to get something else pulled
in?
In the actual application, not-logged in users see the right stuff, so
apparently there it's working.
Stefan
--
Stefan BethkeFon +49 151 14070811
--
You received this message because you are subscribed to the Google Groups
"Djang
Hi,
I have a class BPS:
class BPS(models.Model):
"""
This is representation of
UK BPS applications.
"""
...
questions = ArrayField(models.IntegerField())
This field questions is ArrayField od integers.
And I also have Serializer for BPS.
When I want to create BPS
You can't install django in PyCharm.
You must set proper Python interpreter into PyCharm Settings.
File>Settings>Project:name_of_your_project>Project Interpreter
There you must setup proper Python interpreter.
The best option is that you create Virtual Environment for each project.
This is guide
a pull request
to the app's GitHub repo to add any mappings developers come up with while
migrating projects.
We at Divio and Aldryn would be happy to kickstart and maintain such an app
for the benefit of the wider community. I'm especially interested if anyone
has a better idea on ho
transaction, which I can't handle myself anymore.
I'm really out of ideas.
Stefan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+u
eally have to
be gone in order for the operations to work.
I can see that the behavior has changed 8 years ago:
https://code.djangoproject.com/ticket/5559
Is there any other option I'm missing?
Many greetings,
Stefan Schindler
--
You received this message because you are subscribed to the Google Groups
"
ARRGH,
sorry for the spam.
The problem was that I have imported other django modules before calling
execute_from_commandline...
Cheers,
Stefan
On Saturday, December 1, 2012 5:57:31 PM UTC+1, Stefan Schwarzburg wrote:
>
> Hi,
>
> I'm looking for help with the following problem
ngs-module)
says that this should work, I always get the error:
ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined.
Anyone who can help with this?
Cheers,
Stefan
--
You received this message because you are subscribed to the Google Gro
at http://goo.gl/ULrCz .
Cheers
Stefan
On Tuesday, September 18, 2012 3:12:31 AM UTC+2, Stefan Foulis wrote:
>
> *Dear Djangonauts
>
> After the positive experiences at djangocon 2012 in Zürich, we’d like to
> further strengthen the swiss django user community and therefore invite you
Join the first «Django User Group Switzerland Meetup» on Thurs, 25.10.2012!
We still need speakers - could it be you? http://goo.gl/A04hM
On Tuesday, September 18, 2012 3:12:31 AM UTC+2, Stefan Foulis wrote:
>
> *Dear Djangonauts
>
> After the positive experiences at djangocon 20
http://code.google.com/p/django-jython/issues/detail?id=78
I am not sure where this fix suits best (django or django-jython project),
so I'll just ask...
at the Link above all fix details are posted (if someone care's to
integrate them feel free...)
--
You received this message because you
class Test(models.Model):
datum = models.DateTimeField()
text = models.CharField(max_length=255)
class TestForm(ModelForm):
class Meta:
model = Test
Rendering the form with form =
TestForm(initial={'datum':datetime.datetime(2012, 8, 21, 18, 0,
tzinfo=)) looks all good.
over our meetup.com page (
http://www.meetup.com/Django-User-Group-Switzerland/).
Cheers*
*
Stefan Foulis*
--
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/dj
letter of your setting as a directory, I believe.
I assumed a single directory could be a case of a single element. Tuple
lesson duly noted.
I take it you're not using the app directories loader?
Not yet.
- Stefan
On Mon, Oct 31, 2011 at 3:58 PM, Stefan Lisowski<s.lisow...@isti.com>
57, in get_template
template, origin = find_template(template_name)
File "c:\Python26\lib\site-packages\django\template\loader.py", line
138, in find_template
raise TemplateDoesNotExist(name)
django.template.base.TemplateDoesNotExist: admin/base.html
Has anyone here used the t
otExist: admin/base.html
(I also tried without manually setting TEMPLATE_DIRS, but just ran
django.conf.settings.configure(), still to no avail.)
Anyone, any ideas? I'm completely new to Django, but I've not been
working in Python lately either, so it could just be a Python mistake on
my part
Hi Django folks -
I'm new to Django, and I just want to use the template system now,
independent of the rest of Django. But I can't get it to see a
template. Even the system templates as was suggested when I started
Googling for my error.
>>> import django.template
>>>
with runserver, but not with nginx.
This only occurs with this user with the proxy, on other networks, it
does work.
Anyone experienced this before? If so, how'd you solve it?
Thanks in advance!
Stefan
--
You received this message because you are subscribed to the Google Groups
"Django users&q
, Django 1.0 and Postgresql.
Also note that it does work when run with runserver, but not with
nginx.
This only occurs with this user with the proxy, everywhere else, it
does work.
Anyone experienced this before? If so, how'd you solve it?
Thanks in advance!
Stefan
--
You received this message
As far as I know there is no existing api to convert a 'Place' into a
'Restaurant' with multi-table inheritance in django. There is a ticket
about this [1]. And in another ticket [2] that is marked as a
duplicate but seems to have an example of how to solve this problem
until there is a standard
Please rethink your design! There is certainly no need for a global
variable. There is may be a way to implement your requirement as a
singleton that is being able to deliver the huge bag of data in a much
more smarter way.
Am 18.06.2010 um 20:17 schrieb aurphir :
Hi,
I have this issue too :)
On May 17, 1:00 pm, stefan <stefan.horom...@gmail.com> wrote:
> Hello,
>
> I have this issue, I am using the development Django version (checked
> out from svn). I use a template_context_processor and sometimes the
> context_processor is
inside the
context_processor function, and I log request.META['REQUEST_URI']
Do you have any idea how to solve this ?
Thanks,
Stefan
--
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...@google
... no clashes and allows multiple versions of jQuery.
Potentially bad for memory usage and performance.
What do you guys think? What approach would you prefer? Other ideas?
--
Stefan
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
Thanks.
Good article.
On 16 мар, 22:53, dan levine <d...@styleseat.com> wrote:
> this is a good place to get started:
>
> http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
>
> On Mar 16, 10:11 am, Stefan <stefan.fila...@gmail.com> wrote:
>
>
>
>
Hello,
When i used Django web-server there were no problems with debugging
Django projects in Eclipse IDE.
I had to deploy it on Apache web server.
How can i debug the same project if it is deployed on Apache with
module mod_wsgi?
With regards, Stefan
--
You received this message because you
I have tried Firefox 3.6 and Internet Explorer 8, same thing in both. And
it's Python 2.5.4.
And I use manage.py runserver against localhost so the hostname is the same
before and after login (http://localhost/...).
After login, I redirect to "/indexview/" like this;
[...]
return
t that English isn't my
primary language doesn't help). If I'm unclear please don't hesitate to ask
for clarification.
--
Stefan Nitsche
ste...@nitsche.se
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Sat, Jan 30, 2010 at 11:23, andreas schmid <a.schmi...@gmail.com> wrote:
> Stefan Nitsche wrote:
> >
> >
> > On Thu, Jan 28, 2010 at 10:15, andreas schmid <a.schmi...@gmail.com
> > <mailto:a.schmi...@gmail.com>> wrote:
> >
> >
On Thu, Jan 28, 2010 at 10:15, andreas schmid <a.schmi...@gmail.com> wrote:
> and your form works on edit too?
> i really cant understand why mine isnt...
>
> its giving me this MultiValueDictKeyError which i dont understand.
>
> Stefan Nitsche wrote:
> > On Wed,
the form if i want to edit but i get a
>
>Exception Type: MultiValueDictKeyError
>Exception Value:
>
>Key 'activity_set-0-id' not found in {u'activity_set-0-name': [u'a\xf6lskjdf\xf6sa'], u'activity_set-0-type':
> [u'research']
>
> on save... any hints?
>
>
> Stefan Nitsc
On Mon, Jan 4, 2010 at 23:27, Stefan Nitsche <ste...@nitsche.se> wrote:
> Hi,
>
> to begin with I would like to declare that I'm still on the beginner end of
> the scale when it comes to Python and Django.
>
> I have an app which has two models:
>
> class I
inlineformset_factory I must give it
an instance so that it can map the foreignkey, correct? So how do one go
about and create a form where people can add "item" and "itemimages" at the
same time? I'm feeling totaly lost any pointers would be greatly
appreciated.
--
Stefan Nitsche
ste...
What are F() expressions and where are they documented ? (just didn't
hear the term until now)
About your win_percentage column , wouldn't you rather have it as a
method which is being
calculated from the columns wins and losses instead of a column stored
inside the table ?
On Sep 15, 8:36 pm,
Hello,
My name is Stefan Petrea and I'm working on a project built
using Django.
Basically the idea, is that of many wishlist-type of sites out there
(of which a representative site is tadalist.com).
What you can do is make lists of items , make items , edit them ,
re-order them(using jQuery
lds and setting a function and set value in
> > runtime with:
> > the_file = models.FileField(upload_to=get_path)
>
> > that works great if I just want to change the filename but I can't
> > change folder.
>
> > So what am I doing wrong?
>
> > Stefan
&g
sorry, my last post was answer to the first reply :-)
I'll the second now. Thanks.
On 4 Aug, 22:08, Stefan Hjelm <stefanhjel...@gmail.com> wrote:
> thanks, forgot to say I tried that aswell but then nothing happens.
> It's just as it ignores that line. It still saves the file und
ime with:
> > the_file = models.FileField(upload_to=get_path)
>
> > that works great if I just want to change the filename but I can't
> > change folder.
>
> > So what am I doing wrong?
>
> > Stefan
>
> You needed to do self.the_file. In python member vari
Many thanks!
--~--~-~--~~~---~--~~
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, send email to
option, to
keep it simple). The approach is to use the "cache" template tag to
cache portions of my templates which don't need to be refreshed on each
request and which do require calls to the database.
Any suggestions will be appreciated.
Regards, Ste
east to
some extent.
How can I track down the error? Or can it be a bug in the deserializer
code...
Regards, Stefan Tunsch
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
understand why the file CACHE_BACKEND wouldn't work? The docs don't
seems to warn about that either. Anyone can explain?
Stefan
On Apr 27, 9:47 pm, Stefan Wallner <montodes...@googlemail.com> wrote:
> Hi,
> I am writing some tests for an application I am developing, in my test
> ca
ure it out for two days now - help!
Thanks
Stefan
--~--~-~--~~~---~--~~
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 fr
in attachmentset.cleaned_data:
print cd #Returns 3 empty dictionary {}
Any help will be appreciated.
Regards, Stefan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
to use it in my context...
Regards, Stefan
--~--~-~--~~~---~--~~
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 g
Thanks for the answer.
I understand the implications of it.
I'll keep an eye on the stated ticket.
Keep up with the good work.
Stefan
Russell Keith-Magee escribió:
On Thu, Feb 19, 2009 at 2:32 AM, Stefan Tunsch <stun...@gmail.com> wrote:
Hi there!
I'm trying to see
and use the django ORM as usual.
Regards, Stefan
Alfonso escribió:
> Hi,
>
> I have a client who wants to generate an invoice statment
> automatically on the first of every month. I'm trying to work out how
> I might do that in Django. I have a simple statement model and a
> si
overriding django's ORM)
The last option would be to add some extra SQL to my QuerySet through
the extra parameter.
Any insight would be appreciated.
Regards, Stefan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Thanks Karen.
Karen Tracey escribió:
On Thu, Feb 12, 2009 at 9:55 AM, Stefan Tunsch <stun...@gmail.com>
wrote:
I think I found a bug in the
trunk.
I downgraded to rev 9700 and it started to work again.
Regards, Stefan
I opened a ticket to track this:
I think I found a bug in the trunk.
I downgraded to rev 9700 and it started to work again.
Regards, Stefan
Mensaje original
Asunto:
Error with File object
Fecha:
Thu, 12 Feb 2009 15:23:29 +0100
De
of the ticket in the files name
t = TicketDocument(doc=File(f), company=company, ticket=tic)
t.save() # This step throws the TypeError
I'm using trunk at 9826 (just updated)
Any ideas would be appreciated.
Regards, Stefan
--~--~-~--~~~---~--~~
You received
Hi Malcolm!
Well, as you say, the range lookup simplifies the code.
I am using MySQL and adding a timedelta of 1 day to a date object and
comparing the range with my datetime field works indeed as expected.
Thanks for your help. It's been very instructive. ;)
Regads, Stefan
Malcolm
f there is a better way to lookup data that
is IN a range of data?
Second I would want to know if I can somehow add to my Q object a mix of
groups of ANDed values that are ORed between them?
I hope this makes sense to somebody, Stefan
;)
PS:
If I only filter by the day, for example, i
This works excellent.
Had now idea this was possible...
Regards, Stefan
Tim Chase escribió:
I have a qset object like this:
qset = (
Q(dst__contains=company.phone) |
Q(dst__contains=company.cellphone) |
Q(dst__contains=company.fax
) |
Q(src__contains=company.fax)
)
If a company has a None value in one of these fields, I get a "Cannot
use None as a query value" error.
I would want to add Q objects dynamically depending on the situation. Is
this possible?
Regar
It looks like it's clear video conversion is your bottleneck.
I would also suggest doing that on a different worker process.
You will also want to avoid converting the same file again if you've
done it before...
I was suggesting to give a shot of using ONLY nginx with Django.
If you search in
What's the point of using Apache AND nginx?
The same server is also handling the database? What db server are you using?
What about caching? Have you something up and running in that sense?
And regarding video conversion, this can obviously be the root of
your problems. Can you be more
t;)
months = [m.strftime('%B') for m in premonths]
But I guess I'm missing something here...
BTW, the problem of the wrong locale of dates is everywhere I use dates
on my site, not only in this snippet.
Regards, Stefan
--~--~-~--~~~---~--~~
You received th
I can poke around some more in the right place for what's
going on.
Thanks!
Stefan
On Dec 14, 5:50 am, Stefan Wallner <montodes...@googlemail.com> wrote:
> Hi,
> I am running Django 1.0 on Windows Server 2003, Python 2.5 with
> mod_wsgi. I am having trouble capturing any exceptions in
You simply have to avoid using the same field name in the two forms.
On 12/18/08, Alfredo Alessandrini wrote:
>
> Hi,
>
> can I use two form in the same view function?
>
> if request.method == 'POST':
> form = FORM_1(request.POST)
> if form.is_valid():
>
?
Thanks,
Stefan
--~--~-~--~~~---~--~~
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, send email to
dj
Bruno: Thanks, I think that is exactly what I needed. I thought that I
might need a model for the entries (you called them PersonItem), but I
wasn't sure since I'm new to this kind of programming and thought
there might be a more efficient way.
Dan: Just imagine a spreadsheet, like OpenOffice
Hello,
I'm new to Django and have some problems on how to create the models.
What I want to do is something similar to a spreadsheet, but with more
than one data field per intersection.
Basically like this: (http://dpaste.com/hold/95128/)
Items/Members: Person_A | Person_B | Person_C
Item_1:
for
the file upload. Of course this means once a file was uploaded and the
notification is displayed any refresh of the will give you a browser
warning about resending data which I would like to avoid.
Any suggestions?
Thanks
Stefan
--~--~-~--~~~---~--~~
You
/django-sproutcore/
There is a short tutorial in the wiki. I'm looking forward to
feedback. Please post bug reports and feature requests to the google
code site.
I hope you enjoy the app.
--Stefan Foulis
--~--~-~--~~~---~--~~
You received this message because you
issing). If I change edit_inline to models.STACKED, the
help_text does show.
Any way to show the help_text with the models.TABULAR layout?
Thanks
Stefan
PS:
I am running svn, revision: 7079 (updated today)
--~--~-~--~~~---~--~~
You received this message becaus
add the function name to the settings'
TEMPLATE_CONTEXT_PROCESSORS tuple.
HTH,
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
related_name='favs')
class user_favs_mixin:
def best(self): ...
The ForeignRelatedObjectsDescriptor would the look for the innerclass
and add it to the list of superclases of its dynamic RelatedManager
class definition. But it might be too much magi
Hi
I've tried to create a custom Field for the database to store
Timedelta objects. Since I only need exactness to the minute and won't
have any large timedeltas I'm using a simple Integer to store it in
the database. Maybe I'll make this configurable later.
this is the code:
for it.
Cheers,
Stefan
On Oct 15, 6:03 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On 10/15/07, AP <[EMAIL PROTECTED]> wrote:
>
> > Before I am able to finalize my decision, I just wanted to be sure
> > about this point. So, does Django really support Or
Hi again,
I've found out recently that there is Oracle Connection Manager which
might just be what I need.
I still need to test it though.
Later,
Stefan
On Sep 19, 2:26 pm, Stefan Bethge <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i've recently found out that django does not ca
t which wants to get considered for
usage. Your (and James) point is, I think: if it was said once, it can
be found. That feels elite, IMHO.
I appreciate your opinion.
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed
uot;court".
Overstatement. See above.
> And, again, it's easy to find these things out if you're genuinely
> interested; the Trac timeline and the developers' list are both
> well-advertised and publicly available.
Let's agree that we disagree on this.
Regards,
--
Stefan Matthias Aust
--
..]
You explained my points much better than I could (in plain English at least ;)
Thanks.
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
James,
thanks for your details answer. Let me put it right here: I'm not
complaining about the lack of dedication or progress in the
development of Django. It's more about visibility and marketing.
2007/10/1, James Bennett <[EMAIL PROTECTED]>:
> On 10/1/07, Stefan Matthias Aus
want to fork or split the
development. However, I need some patches applied for our own work
faster than in the official version.
I'd like to know whether others feel the same and would like to see
(and discuss) a focused road map or whether it's just me who cannot
appreciate the creativity of chaos
, http://code.djangoproject.com/ticket/409).
Are there plans to implement some kind of connection caching or may I
have not seen a connection pool daemon for oracle?
Or is it in some way possible to manage the connections in the django
application itself?
Thanks for any suggestion,
Stefan Bethge
, IIRC,
isn't yet capable of doing what you've described below.
--
Stefan Rimaila
"A few bolts loose and a set of switches broken"
Blog, personal portfolio & fun stuff: http://www.studionyami.com
On Mon, 3 Sep 2007, Doug wrote:
>
> I m creating new models for a portfolio applic
eets or
systems, a new database query is executed and I have to cache them
manually and reset the cache manually if I add new ships or systems.
I'm afraid, I over-bend Django's ORM here...
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message be
arg):
try:
return value[:int(arg)]
except ValueError:
return value
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
)
...
except: Foo.DoesNotExist:
foo = None
...
or
for foo in Foo.objects.filter(id=id)[:1]: ...
but I wonder whether it might be useful to add a method get_or_none()
and another exists() method to the objects object. What do you think?
--
Stefan Matthias Aust
arguments. They must be variables,
numbers or constants in quotes. To special case the last element of a
list, do this:
{% for item in items %}
{% if forloop.last %} class="last" {% endif %}
...
{% endfor %}
--
Stefan Matthias Aust
--~--~-~--~~~---~--
Greg,
2007/7/22, Greg <[EMAIL PROTECTED]>:
> Does anybody know how I can get the list position so I can put it in
> the url?
Search for "forloop.counter0" on
http://www.djangoproject.com/documentation/templates/#for
--
y
@transaction.commit_manually
def test(foo):
foo.count += 1
transaction.rollback()
class Test(unittest.TestCase):
def test_transactions(self):
foo = Foo(count=1)
test(foo)
self.assertEqual(1, foo.count)
The above code will fail. The count isn't reset to 1. It doesn't
2007/7/21, Tim Chase <[EMAIL PROTECTED]>:
> I believe you're looking for the word "arbitrary".
Yes. Thanks. Geeks should however take into consideration that a
"random access file" isn't called an "arbitrary access
, that is mutable
sequences. At the same time, I like how Django expresses relations
between objects and automatically manages them. So I tried to come up
with some custom relation class - and failed so far ;(
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received
that.
Additional question: Is there a way to store serialized (a.k.a.
pickled) Python objects?
Thanks,
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
method will simply spawn a new
editor. Because I don't really know what to return from that view, it
will work best with a bit of Ajax.
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
2007/7/21, Nis Jørgensen <[EMAIL PROTECTED]>:
>
> Stefan Matthias Aust skrev:
> >
> > Let's assume you have users who are allowed to assign nick names to
> > theirselves and still all thoses nick names must be different. This is
> > want I call
k names must be different. This is
want I call a random ID.
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
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.c
their own custom
blogging solution because it's so easy? I guess not :)
--
Stefan Matthias Aust
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Oh, it's not creating the ID, my question was whether I can safely
assume that I will always get an IntegrityError (and nothing else) and
whether just inserting stuff and catching errors is the recommended
Pythonic way.
--
Stefan Matthias Aust // Truth until paradox
--~--~-~--~
easy it was to create something. Just telling
them isn't enough :)
Stefan
--~--~-~--~~~---~--~~
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
1 - 100 of 110 matches
Mail list logo