Hi,
Yes, Django is a web framework, written in Python (it doesn't "interpret"
anything,). So everything you write in Django (well almost everything,
templating language has it's own syntax) is practically just ordinary
Python code.
As others pointed out doing official tutorial from the docs will
Hi,
As Larry already was on to - just go through the tutorial - it will save
you a lot of time, and takes only about a half day if you do it in one
sweep. Otherwise you will probably be fighting django instead of using its
strengths.
Med vänliga hälsningar,
Andréas
2018-03-28 3:41 GMT+02:00
On Tue, Mar 27, 2018 at 9:37 PM, Benoit EVRARD wrote:
> Hello, I'm new to this Django Framework. By the way, is it a Framework? I
> have no time to read all of the posts and tutos. Django seems to interpret
> python's coding am I right?
You have no time to read the
Hello, I'm new to this Django Framework. By the way, is it a Framework? I
have no time to read all of the posts and tutos. Django seems to interpret
python's coding am I right? I need to adapt a Zend Framework. Am I in the
wrong path here? Best, Be
--
You received this message because you are
On Wed, Mar 6, 2013 at 1:38 AM, Ian wrote:
> In the meanwhile, the commonly used workaround for this is to include the
> schema in the db_table declaration like so:
The other workaround which is mentioned in the ticket I linked but
which I completely neglected to include
On Tuesday, March 5, 2013 2:14:04 PM UTC-7, Steven Githens wrote:
>
> Hello Django Users,
>
> I have an app that uses Oracle and cx_Oracle for the db, and I've made the
> models from an existing schema with inspectdb.
>
> The database schema also contains a number of sub-schemas, so they must be
On Tue, Mar 5, 2013 at 5:41 PM, Johan ter Beest wrote:
> Not an Oracle expert at all but maybe this SO answer explains some things?:
>
> http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do
>
So if it's down to
Not an Oracle expert at all but maybe this SO answer explains some things?:
http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do
On Mar 5, 2013, at 11:12 PM, Shawn Milochik wrote:
> This works for me in Postgres as well.
This works for me in Postgres as well. This script:
from django.contrib.auth.models import User
qs = User.objects.filter(username='smilochik')
print qs.query.sql_with_params()
returns this output:
('SELECT "auth_user"."id", "auth_user"."username",
"auth_user"."first_name",
Hi Shawn!
Thanks for the clue. I commented out the following in oracle/base.py
DatabaseOperations.quote_name and can get some tables showing up in the
admin view now. ( More issues of course, but I believe them to be separate.
)
# if not name.startswith('"') and not
I'm taking a look at this as someone pretty unfamiliar with the ORM.
Hopefully someone more knowledgeable will jump in.
However, in the meantime (if you're feeling adventurous), you could
look in django/db/backends/oracle/base.py and have a look at function
quote_name. A naive look at it makes me
Hello Django Users,
I have an app that uses Oracle and cx_Oracle for the db, and I've made the
models from an existing schema with inspectdb.
The database schema also contains a number of sub-schemas, so they must be
accessed with schema dot table name. Looking at the SQL used for model
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.
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
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
I ran into this same issue, you will need to recompile python with the
following (somewhat unintuitive option): --enable-unicode=ucs2, and
then recompile psycopg2. I've gotten that far with stackless on my
machine, and runserver, etc. works ok.
On May 30, 3:25 am, Chandrashekar Jayaraman
On Fri, May 29, 2009 at 1:25 PM, Chandrashekar Jayaraman
wrote:
> Hi,
>
> I am trying to setup stackless and django.
> For this purpose I am using python2.6 , I installed stackless (
> ./configure, make, make install ) using this.
> I also installed the psycopg package with
Hi,
I am trying to setup stackless and django.
For this purpose I am using python2.6 , I installed stackless (
./configure, make, make install ) using this.
I also installed the psycopg package with python ( stackless ) but for some
reason when i try to run shell it throws up an error saying
18 matches
Mail list logo