Not on purpose no -- if it doesn't work with 4.1 that is a bug
On Wednesday, April 5, 2017 at 11:07:13 AM UTC+2, jorr...@gmail.com wrote:
>
> Is the required version of Pillow pinned at 4.0.0? I upgraded to Django
> 1.11 and from Pillow 4.0.0 to 4.1.0 but now Django doesn't start because it
> sa
If it speaks SQL you can just write your own backend for it, but that is
probably a bit of work.
On Friday, June 5, 2015 at 2:05:40 PM UTC+1, Uk Jo wrote:
>
> I am a newbie about Django and Python. But I attended the basic lecture of
> python. So I will implement my web application.
> I want to
Hi Peter,
On Thursday, March 12, 2015 at 11:26:21 AM UTC+1, Peter Schmidt wrote:
>
> I think it's related to this documented change:
>
> https://docs.djangoproject.com/en/dev/releases/1.8/#related-object-operations-are-run-in-a-transaction
>
Exactly
> We can fix it by catching the known instan
Hi,
I've never ran into this and the only way I can reproduce it is:
http://bpaste.net/show/29LVTwRDX5DIgUSDE6D9/ -- So my question to you is:
What exactly are you doing, how are you deploying, do you have code
reloading active somewhere?
Cheers,
Florian
--
You received this message because
Hi,
please post usage questions to django-users. Thx.
On Friday, March 9, 2012 4:23:37 PM UTC+1, Vishnu vg wrote:
>
> Hi Friends,
>
> I have a cms based existing django site. I want to translate it to german
> or other language, Please suggest which is the best method?
>
>
> --
> Regards
>
> Vi
Increase debug level and make sure to read the debugging docs on
modwsgi.org; then you can hopefully provide more info, so we can actually
help.
Cheers,
Florian
P.S.: Btw telling us which versions you use exactly would help too
--
You received this message because you are subscribed to the Go
Oh and if you don't want to create all tables in the cluster, just create
with the default engine and then switch as needed.
--
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/m
Hi,
this can be done as documented like for the innodb backend:
https://docs.djangoproject.com/en/dev/ref/databases/#creating-your-tables
Cheers,
Florian
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hi,
please post in django-users, this mailinglist is about the development of
django itself, not about enduser problems.
--
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/
Hi,
file.url is what you are looking for (assuming MEDIA_URL is configured
correctly)
Cheers,
Florian
--
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
I would stay with Apache, but I would drop mod_python in favor of
mod_wsgi [1]. Mod_wsgi is pretty cool and written by the same person
as mod_python and should be seen as it's successor. Btw WSGI is the
future for python web dev; so why not use it? There is even a page
about Django Integration [2]
ng an integer.
>
> Is that wrong?
>
> On Jan 6, 9:33 pm, Florian Apolloner <[EMAIL PROTECTED]> wrote:
>
> > You are doing something like my_instance.author = request.user.id
> > whereas you should do: my_instance.author = request.user. Why? You are
> > working wi
You are doing something like my_instance.author = request.user.id
whereas you should do: my_instance.author = request.user. Why? You are
working with the Django ORM and it doesn't expect you to give it an
User-Id (although it get's saved as that in the db), but an instance
of django.contrib.auth.m
s and then store them in the db, but
this question popped up a few times in irc...
On Dec 29, 10:32 pm, Florian Apolloner <[EMAIL PROTECTED]> wrote:
> > Error is in the way you use it. Please write full model and usage
> > example.
>
> As you wish :)
>
> blubb/mod
> Error is in the way you use it. Please write full model and usage
> example.
As you wish :)
blubb/models.py:
from django.db import models
# Create your models here.
MY_CHOICES = (
(1, '11'),
(2, '12')
)
class TestModel(models.Model):
test_blubb = models.IntegerField(choices=MY_C
Does this mean that I would need to run setup.py install after every
checkout, otherwise setuptools couldn't track it or am I mistaken?
Best, Florian
On 21 Nov., 16:39, Jannis Leidel <[EMAIL PROTECTED]> wrote:
> Am 21.11.2007 um 13:54 schrieb Florian Apolloner:
>
> > Nic
> Versionized reusable apps are definitely a desirable feature! But I
> don't like the idea of just using different entrypoints for each
> Django release or other dependency. The setuptools _do_ have native
> support for complex dependencies [1] via the "install_requires"
> keyword. If Django woul
I would take a look at the python pam bindings:
http://www.pangalactic.org/PyPAM/
Florian
Rodrigo Lazo wrote:
> Hi all,
>
> While reading the auth documentation I've found that you could
> implement your own auth backend if you need so, and I've found
> implementations of a LDAP backend. Sadly
Yeah one idea:
Is what the default admin login page contains, so maybe adding this
will be enough, or you would need to write a custom view (I am a
little bid concerned about the post_data as it seems to be some random
string for security).
Florian
On Aug 31, 9:23 pm, jfagnani <[EMAIL
ed (as the queryset is not executed and
sliced then...) and not all objects get fetched.
Hope this helps,
Florian Apolloner
On Aug 31, 9:11 pm, Sebastian Macias <[EMAIL PROTECTED]>
wrote:
> I'm building an app that requires pagination. I looked at the
> official
> pagination doc
Hi,
There is currently no fully working backend for mssql, but someone is
working on it already (and I am sure he will need some testers).
If I am not mistaken there is also http://pymssql.sourceforge.net/
I hope this helps,
Florian
On Aug 9, 7:10 pm, [EMAIL PROTECTED] wrote:
> Is it possible to
It should be: How can I limit the available options according to some
custom
permissions?
sry
On Jul 26, 2:51 pm, Florian Apolloner <[EMAIL PROTECTED]> wrote:
> I have a model with a ForeignKey to another model. It is displayed as
> select box. How can I limit the available opt
I have a model with a ForeignKey to another model. It is displayed as
select box. How can I limit the available options to some custom
permissions?
Thx in advance,
Florian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
On Jul 22, 10:01 pm, "Evan H. Carmi" <[EMAIL PROTECTED]>
wrote:
> Florian Apolloner wrote:
> > After editing your code, you will need to touch fcgi file
>
> Can you be more explicit. I know the location of a lighttpd.sh init
> file. But I am not sure if there
After editing your code, you will need to touch fcgi file, and then
lighty will restart python and reimport everything...
On 21 Jul., 22:39, "Evan H. Carmi" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I am running Django with lighttpd. I will make a change in the code and
> try and refresh the page t
y you are grouping by! This means that if your
list of people was not sorted by gender, you'd need to make sure it is
sorted before using it, i.e.:
{% regroup people|dictsort:"gender" by gender as grouped %}
Hope this helps,
Florian Apolloner
On 17 Jun., 16:13, Nicolas Steinmetz &
On 10 Jun., 20:03, MartinWinkler <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have implemented a captcha solution for django (because the already
> available approaches did not fit my needs), and came to this problem:
>
> An image is created for every captcha-enabled form that is being
> displayed.
Fredrik Lundh described a fine way to serve multiple hosts from a
single django instance.
As somebody else already asked in the comments, I would like to vary
the SITE_ID according to the host (maybe a db lookup). Otherwise I
would loose functionality of flatpages/etc., or am I mistaken?
Any ide
I would like to use edit_inline=models.STACKED in my model (some
user_prefs which should get displayed on the user-admin page) and
would like to be able to use something like fields = ( ( 'options',
{'fields':('photo','blogger')}) ) to get them displayed the way I like
them to look... (As I can d
Ah now I see ;) url() is to be used if I don't need extra_directory,
any other differences?
On 9 Apr., 22:51, "Florian Apolloner" <[EMAIL PROTECTED]> wrote:
> When does I have to use url() as described
> here:http://www.djangoproject.com/documentation/url_dispatch
ould look over it in the source, as others are having
problems with it either...
Thanks in advance Florian Apolloner
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
2007/2/18, Honza Král <[EMAIL PROTECTED]>:
> I just wrote it into the email as an example of how I would go about
> doing something like this, I said you will have to tweak it a bit, try
> it in shell first and see how its behaving...
I got something like this now:
def save(self):
try
I got a few questions cause it is not working (I assume I am to
silly):
> def save( self ):
> old_data = self.__class__.objects.get(pk=self.id).__dict__
I can substitue pk with id (this is my primary...)
> old_data['deleted'] = True
Mark the old_data as deleted
> self.__class__.objects
> def save( self ):
> old_data = self.__class__.objects.get(pk=self.id).__dict__
> old_data['deleted'] = True
> self.__class__.objects.create( **old_data )
> super( models.Model, self ).save()
>
> then when you do
>
> m = Model.objects.get(pk=42)
> m.some_field='some new value'
> m
> you simply override the save() function to do what you described:
> create another instance and mark this one as deleted...
That's what I want to do
> what is now in 'm' ?? the new object, the one merked for deletion? etc.
> if you only need this in admin, then you shouldn't have to worry a
How can I tweak the normal save button (by hooking into the save
method) to, instead of updating the record, add it as new one and mark
the old one as deleted (to mark it as deleted I would like to change
an boolean attribute...)?
Thx Florian
--~--~-~--~~~---~--~
James Bennett schrieb:
> On 11/7/06, Florian Apolloner <[EMAIL PROTECTED]> wrote:
> > Yes I see this box, but I (for example) don't won't to see all users
> > and have to klick on is_staff->yes, I want this to be preselected
> > (which means I don
> On 11/7/06, Florian Apolloner <[EMAIL PROTECTED]> wrote:
> > 1.) In the admin-area you can use filters ( list_filter = ('is_staff',
> > 'is_superuser') ), which show by default all entries. Now I want to
> > have the entries prefilterd (let's
nd not
before it....)
I apologize for my bad English.
Kind regards Florian Apolloner
--~--~-~--~~~---~--~~
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
39 matches
Mail list logo