e to BigAutoField to be future-proof, but would prefer not
to write migrations by hand.
Regards,
Gregor
--
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
t
of the second query are correct, since subquery is evaluated first
(with ORDER BY clause included).
It actually looks similar to an old bug #12328, which was marked as fixed long
time ago and I am using Django 1.6. Am I missing something?
Many Thanks,
Gregor
--
You received this message
Hi,
Is it possible to use Django with Google Fusion Tables
http://code.google.com/apis/fusiontables/ as the backend?
--
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 unsubscr
Hello,
I may do something, what the formsets are not intended for.
I have forms which assort data of several different Models.
This is because of aggregating data in logical blocks in the UI.
Additionally I have some fields, which have to be filled dynamically.
There is as well the possibility fo
d deeper in the underground in a method
>> I use the following for the checks.
>> self._kwargs.has_key('instance'):
>> pk = self._kwargs['instance'].pk
>>
>> Now the question. Is there a more canonical form of accessing
>> this data ?
>>
&
#x27;.join(self.tags[i:i+10]))
assert len(l) == 10, len(l)
def test4_get_tag(self):
for tag in self.tags:
assert get_tag(tag)
Gregor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Hi,
please try to create an empty __init__.py file in your ~/nimma/
directory.
Gregor
On 15 Okt., 00:50, David wrote:
> Hello django community,
>
> I checked out a django project from svn and tried to start dev server,
> however I met
>
> d...@sgbr:~/nimma$ python manage.py
I discovered that it gets not execute by looking at the coverage statistics.
But you're totally right. I had a second method that is called the same.
Very embarrassing for me. Sorry.
Gregor
2009/8/28 Karen Tracey :
> On Thu, Aug 27, 2009 at 2:21 PM, Gregor Müllegger
> wrote:
>&g
name like "test_string_regex2", "test_string__regex" or
"test__string_regex" it is discovered by the test suite.
I also can execute the single test with the "python manage.py test
applabel.TestCaseName.test_string_regex".
This seams very scary to m
Daniel Roseman wrote:
> On Mar 6, 10:37 am, gregor kling
> wrote:
>> Hello List,
>>
>> I have a form inheriting from ModelForm.
>> class C(ModelForm):
>>
>>
>> class Meta:
>> model = SomeModel
>>
>> def cl
Hello List,
I have a form inheriting from ModelForm.
class C(ModelForm):
class Meta:
model = SomeModel
def clean_somefield:
enhanced checks
Now my problem is how to access session data (request.session)
from within the clean method.
Does anyone have a clue how
ideo_queue') from the
subprocess module?
I already tried it with multiprocessing, but it hasn't worked - just
like threading. It doesn't get executed.
Thanks again,
Gregor
2009/2/15 Malcolm Tredinnick :
>
> On Sat, 2009-02-14 at 11:31 -0800, Gregor Müllegger wrote:
>>
as long as i try to do it in a new thread. If i
block the view with processing the video in the same thread as the
request, everything works ok.
Does anyone know if there are known problems with multithreading in an
fcgi environment? I hope someone can help me ... this bugs me quite a
while.
T
?script_id=2392
It will only work on Unix-like systems and is only tested on linux. To
install it just place it in your ~/.vim/plugin directory.
Please tell me if you like the plugin and what else can be improved.
Don't be shy and throw all your critisism
The django-command-extensions manipulate the debug page to add an
interactive console.
They provide a new management command for that: "runserver_plus"
Maybe you can get some know-how from them:
http://code.google.com/p/django-command-extensions/source/browse/trunk/django_extensions/management/co
Maybe you could use django's form wizard:
http://www.djangoproject.com/documentation/form_wizard/
On Jun 25, 9:27 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Hi,
>
> depending on the values from form.cleaned_data, I want to present different
> input fields to the user. Example:
> The user
>> models = reload(models)
>>> # Do more stuff with your new models
Gregor
On 12 Jun., 03:01, "Gene Campbell" <[EMAIL PROTECTED]> wrote:
> I'm very new to Python and Django, I'm going through building some
> models for the first time.
> When I loa
app
anthor location an alter the hardcoded links. (also quick&dirty but i
cannot think of another solution)
Gregor
On 6 Jun., 01:13, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I'm using Django's free comments app for my site's blog app, but am
>
Here is a sample configuration from one of my sites (domains and paths
are altered):
FastCGIExternalServer /var/www/myproject/fcgidummyfile.fcgi -host
127.0.0.1:3044
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/example.com
Alias /stat
You are searching an UI Widget, is that right?
Django doesn't provide any builtin UI stuff, except the templatetages.
But you could try some of the following JavaScript libraries which
inculde UI stuff:
http://jquery.com/ with http://ui.jquery.com/
http://dojotoolkit.org/
http://extjs.com/ (i th
middleware/#django-middleware-common-commonmiddleware
To prevent the trailing slahs, set in your settings module
APPEND_SLASH to False.
Gregor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Your last example is near the typical solution. You could pass as
second element of the "url-tuples" a callable object e.g. a view.
from django.conf.urls.defaults import *
import views
urlpatterns = patterns('',
(r'^(?P[a-z0-9_-]+)/$', views.view_city),
(r'^(?P[a-z0-9_-]+)/category/(?P[a
uch cooler than just doing a "import spam" because you can also
call
a file "django.py" or "sys.py" in your app without collidating with
the standard library
and athors thirdparty packages.
Gregor
--~--~-~--~~~---~--~~
You received t
I think this might be it, thank you *so much* Karen!
On May 2, 1:55 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Thu, May 1, 2008 at 6:51 PM, Gregor Hochmuth <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > Has anyone experienced the
Hello,
Has anyone experienced the following symptom with Memcached before?
Intermittently and unpredictably, requests to our production web
server will start "hanging" in the "Waiting for response..." loop and
never get any further. When we restart memcached on the server, the
request executes ri
hon-django 0.95-1,no php,apache2.2.3-3.2.
Another question is how to delete a session explicitly. I want to give
the user the possibilty to logout. I do not find anything to delete the
session?
thx.
--
Gregor Kling
DV-Zentrum
Fachhochschule G
Damn me, it was all my fault :-)
Django gave me exactly, nearly, the hint.
Regrettably django provided me with the false line number.
So I have searched everywhere but the right position.
django claimed 'The iteration over non sequence error' at the outer
for-loop, but the problen was indeed in o
Gregor Kling wrote:
{% for ndata in ndatas %} <--- iteration over nonsequence
Netzdaten
Ethernet-Adresse:*
DHCP aktivieren ?:*
{% for doption in dhcpopti
Hello,
I do get an iteration over non sequence error.
If I make a normal in python code
everything works as assumed, but I if let django iterate over ,
it says iteration over
The weird thing is, that it worked sometime ago, but I can't recall
whats the difference between know and the time i
thanks man I find error, I forget pass joined attribute. Thanks Again
--~--~-~--~~~---~--~~
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 unsu
Hello i have manytomany relations (database PostgreSql 8.1.5) like
this:
class Photograph(models.Model):
name = models.CharField(maxlength=200)
email = models.EmailField()
age = models.IntegerField()
categories = models.ManyToManyField(Category)
joined = mod
tion.
How to do this?
It looks like I should write a method that override a column option but
I don't know how.
Thans for any help
Gregor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
32 matches
Mail list logo