Hi Matthias,
first of all thanks for the new release and all the work (this goes to
all developers of course!).
On Tue, Feb 26, 2013 at 10:00 PM, Matthias Kestenholz wrote:
>
>
> Compatibility with Django and other apps
>
>
> FeinCMS 1.7 requires Django 1
I've been using 1.5rc2 for a while now with no problems so getting a
final of 1.5 is great news. I especially like the support for Python 3
since it removes all of my unicode problems. Being a Norwegian
programmer having to deal with those damn øæå-characters all the time
has been a real pain. Now
I have now pared my 'old' .htaccess method for CGI to this:
(code)
AcceptPathInfo On
AddHandler fcgid-script .fcgi
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.fcgi/$1 [L,QSA]
(/code)
Note that Apache does not find index.fcgi unless
AcceptPathInfo On
is enabled.
But
code for test0_loader.py as follows
#!/usr/bin/python
import os
# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "settings"
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
--
Tim
tim at tee jay fort
FYI: OS=Mac OSX 107, Python 2.7.1
Experience : CGI programming 17 years, python 10 years.
Django, FastCGI - newbie
.htaccess - pretty shaky
I'd like to work with django out of the box as fastcgi. I have a test
site set up.
With (code)
python manage.py runserver 8000
(/code)
My test sites is acces
I have a process_view middleware that sets the module and view names
into the request like this:
class ViewName( object ):
def process_view( self, request, view_func, view_args, view_kwargs ):
request.module_name = view_func.__module__
request.view_name = view_func.__name__
I
Hello everyone
This might seem like perfect timing, and nobody'll believe that it wasn't.
Anway, FeinCMS v1.7 has been released and is available at the usual places.
Thanks to everyone who supported this release with suggestions, prodding
and/or code.
Best,
Matthias
-- 8< --
=
Woo-hoo! Awesome news. We really appreciate all the hard work you guys have
been doing getting this version out.
Thanks a million!
Mark
On Tue, Feb 26, 2013 at 11:44 AM, James Bennett wrote:
> Yup, it's finally here!
>
> * Announcement blog post here:
> https://www.djangoproject.com/weblog/201
:-)
ModelB.objects.filter(~Q(modelA__fielddate__range(date1,date2)))
On Tue, Feb 26, 2013 at 10:53 AM, ozgur yilmaz wrote:
> Thanks for the replies. I should use exclude, to find A objects, so
> should try this i think:
>
> ModelB.objects.exclude(modelA__fielddate__range(date1,date2))
>
> 201
Yup, it's finally here!
* Announcement blog post here:
https://www.djangoproject.com/weblog/2013/feb/26/15/
* Release notes here: https://docs.djangoproject.com/en/1.5/releases/1.5/
* Download it here: https://www.djangoproject.com/download/
--
You received this message because you are subscribe
Hi django-users.
Since databrowse is still available in latest stable version of
django, I guess it's better to make this announcement here.
Okay, it's been couple of days that we released django-databrowse 1.1.
The main feature for this release is **Pagination** that implemented
by Stathis[1].
Thanks for the replies. I should use exclude, to find A objects, so
should try this i think:
ModelB.objects.exclude(modelA__fielddate__range(date1,date2))
2013/2/26 Ronan Foucher :
> ModelB.objects.filter(modelA__fielddate__range(date1,date2))
>
> Based on the db backend and the number of column
ModelB.objects.filter(modelA__fielddate__range(date1,date2))
Based on the db backend and the number of column you can add an index on
fielddate ( check explain output to see if it's useful since it depends on
db backend/ dbengine/structure of the table to make it 'inexpensive' )
~ Ronan
On Tue,
yes for me but if you want see the query
you try use django-debug-toolbar and you see how long it takes the query
Cheers
On Tue, Feb 26, 2013 at 11:59 AM, ozgur yilmaz wrote:
> Hi,
>
> Actually my question is not about the date range. i'm planning to use
> __lte and __gte filters. My problem i
Put it where it makes sense. If it is related to data modeling, even
though not saved, you can put it in models.py - it won't be a model unless
it is derived from models.Model.
If it is related to viewi generation, put it in views.py, etc.
If it doesn't fit anywhere, put it in a file named for the
Hello,
I have a file that I want to allow the admin to view only and not be able
to add or change.
delete is ok.
how do I prevent the admin model from adding or changing records?
Thanks
Frank
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hi,
Actually my question is not about the date range. i'm planning to use
__lte and __gte filters. My problem is to solve the query (getting A
objects using B objects) inexpensively. Thanks anyway,
I used:
b_objects = B.objects.filter( activity_date__gte = specific_start_date
, activity_date__lt
A friend just sent me this:
https://pypi.python.org/pypi/django-simple-multitenant
and another, recommended this to prevent url tempering:
http://pythonhosted.org/django-guardian/
I will have a look also.
Delcio
Em sábado, 23 de fevereiro de 2013 00h43min45s UTC-3, Delcio Torres
escreveu:
>
>
Hi everybody in Django group,
I am a newbie to Django, I have a question about where you guys usually put
your non-model class files.
Ex, those model classes are in the model.py
but I want to create a non-model class which is not going to be saved into
database at all. How should I do this?
Tha
Hey Bino nevermind I'm learning here and will try to use the same approach,
so far I already know that I need to get deep on manager, as I've never
used it before. Keep going!
Thanks!
Em segunda-feira, 25 de fevereiro de 2013 14h56min36s UTC-3, Subodh Nijsure
escreveu:
>
> Could - Django multi
Well, I am using Webmin and I am satisfy with it. I tried zpanel but didn't
like it. With File Manager module you can edit files on your browser.
On Tue, Feb 26, 2013 at 6:00 PM, Thiago Avelino wrote:
> Any panel that runs Python, Django will work.
>
> I recommend not to use control panel, I re
On Tue, Feb 26, 2013 at 10:53 AM, Richard Brockie
wrote:
> Any advice on how to get the template to interpret the methods of
> myLinksClass?
try using myLinksClass as a mixin class
--
Javier
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
On Tue, 2013-02-26 at 07:53 -0800, Richard Brockie wrote:
> class myLinksClass:
> basepath = 'testing/'
>
> def self(self):
> return "%s" % (self.basepath, )
>
> def view1(self):
> return "%s%s" % (self.basepath, 'view1', )
>
> def view2(self):
> return "%
Hi,
I have a model along the lines below. I want to be able to define some urls
that have a related structure to provide different views of my model. It
would be nice to abstract the link generation using a class as these views
have wider application.
class MyModel(models.Model):
date = m
That's great Mattias.
On Tuesday, February 26, 2013 3:52:48 PM UTC, Mattias Linnap wrote:
>
> https://github.com/coderholic/django-cities parses the GeoNames
> export, and makes it very easy to integrate into Django apps.
>
> On Tue, Feb 26, 2013 at 11:32 AM, Daniel Blasco
> >
> wrote:
> > Th
https://github.com/coderholic/django-cities parses the GeoNames
export, and makes it very easy to integrate into Django apps.
On Tue, Feb 26, 2013 at 11:32 AM, Daniel Blasco wrote:
> This is a useful resource http://download.geonames.org/export/dump/
>
>
> On Monday, February 25, 2013 7:05:54 AM
any help?
El domingo, 24 de febrero de 2013 23:48:39 UTC+1, Jesús Lucas Flores
escribió:
>
> Hi I am trying to do a select multiple list filter for django admin but I
> can't .
>
> anybody knows how to make it or have a snippet ?
>
> Thank you!
>
--
You received this message because you are s
Hi, maybe use DateField__range(date1,date2)
Cheers
On Tue, Feb 26, 2013 at 5:43 AM, ozgur yilmaz wrote:
> Hi all,
>
> I have to build a query, if possible an inexpensive query:
>
> Model A:
> ...
> ...
>
> Model B:
> ForeignKey( Model A )
> Date
> ...
>
> Model B is an activity with a date fie
All,
We have a really cool project in Washington DC. We'll be putting together
a team of developers (some contract, some full time employees of our
client) for this effort.
Very cool place doing consumer facing web development. Brand name company
- interesting content.
Need some great knowl
Call for Proposals for EuroPython 2013 is open. It will run until March
5th, 23:59:59 CET, so don't waste time, hurry up!
Visit our webpage: https://ep2013.europython.eu/call-for-proposals/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To un
Any panel that runs Python, Django will work.
I recommend not to use control panel, I recommend setting up the
environment to know what is happening with your application.
Cheers,
Thiago Avelino
On Mon, Feb 25, 2013 at 12:10 PM, Francesco Facconi wrote:
> Hello everybody.
>
> I am searching
Hi all,
I have to build a query, if possible an inexpensive query:
Model A:
...
...
Model B:
ForeignKey( Model A )
Date
...
Model B is an activity with a date field. I want to find which Model A
objects didnt join an activity between specific dates.
What are the appropriate ways to find this r
This is a useful resource http://download.geonames.org/export/dump/
On Monday, February 25, 2013 7:05:54 AM UTC, Fatih Tiryakioglu wrote:
>
> Hello all,
>
> Is there any shortcut for evaluating such a database table, or should I
> collect myself all this information. Please help. If you prefer a
33 matches
Mail list logo