nd then when you will do setup.py for a library you
> download, they will be in different locations!
> http://stackoverflow.com/a/12950101/861487
>
> Le lundi 3 novembre 2014 21:24:17 UTC+1, robert brook a écrit :
>>
>> I overlooked mentioning that the path command returned
I overlooked mentioning that the path command returned 2 different
locations for the 3 modules.
Not sure why one package got installed in the lib64 path. They were all
installed with the setup.py install command.
On Monday, November 3, 2014 3:18:06 PM UTC-5, robert brook wrote:
>
>
I am building the web application on a linux red hat machine.
I was trying to pull the path for the site packages for the 3 modules that
I have installed so that I can specify the path in the apache config file
Can I specify 2 paths in Apache?
Thanks
>>> import django
>>> print (django.__pa
together would be much appreciated.
Thanks
On Monday, November 3, 2014 11:21:50 AM UTC-5, Tim Chase wrote:
>
> On 2014-11-03 08:07, robert brook wrote:
> > I do not have the luxury to create a virtual environment because of
> > the constraints of this organization.
>
&g
be in this directive?
Thanks
On Monday, November 3, 2014 10:57:47 AM UTC-5, Andréas Kühne wrote:
>
> 2014-11-03 16:46 GMT+01:00 robert brook >:
>
>> This is the first time that I am having apache configured to run django
>>
>> I plan on using mod_wsgi on apache and linux
This is the first time that I am having apache configured to run django
I plan on using mod_wsgi on apache and linux using 2 servers, the apache
server and the application server.
The linux (red hat 6) / django server had python 2.6 installed for admin
purposes out of the box..
Go figure, 2.6
finds media directory, but not the static one, so
> just use print and the variable of your static folder and look at the
> console where python is seeing the static folder.
>
> Le samedi 1 novembre 2014 23:44:21 UTC+1, robert brook a écrit :
>>
>> I am copying the code from o
I am copying the code from one development machine(windows) to another
(mac) and can see in the command window that *404* are being displayed as
the status codes.
The rendered template has very little successful formatting
Any thoughts why this is happening on mac.
Also, this development will
, 2014 12:55:26 PM UTC-4, Pat Claffey wrote:
>
> once I got pip sorted out it was really easy install django (just pip
> install django) - so advise is to get pip working. You will need it for
> other python packages also.
>
> On Wednesday, October 22, 2014 5:12:10 PM UTC+1,
to python2.6). I manually installed
> python3.4 and pip3.4. I see these executables in /usr/local/bin.
>
> python2.6 was pre-installed on my linux box (red hat). I installed
> python3.4 and pip3.4 manually.
>
>
>
> On Wednesday, October 22, 2014 5:12:10 PM UTC+1, rob
suggestions around this?
On Wednesday, October 22, 2014 12:12:10 PM UTC-4, robert brook wrote:
>
>
> I have alot of experience installing packages on windows and mac and it
> goes very smoothly.
> I do not have alot of experience doing the installs on a Linux box.
>
> I am
I have alot of experience installing packages on windows and mac and it
goes very smoothly.
I do not have alot of experience doing the installs on a Linux box.
I am running into problems installing 4 packages.
The Lan team tried yum, but the basic django packages were not available.
Then I tri
y problems with it and a few mysterious segfaults on the
> application server from time to time. It does work for the most part, but
> the application isn't under any kind of load at the moment.
>
> If I had a choice, I wouldn't run Django on MSSQL Server.
>
> - K
>
d quirky problems with it and a few mysterious segfaults on the
> application server from time to time. It does work for the most part, but
> the application isn't under any kind of load at the moment.
>
> If I had a choice, I wouldn't run Django on MSSQL Server.
>
Has anyone had any experience using the the sabridge module to connect to a
production database in general and specifically to sql server (version 2014
with python 3.3 and django 1.7)?
I would like to be able to integrate sqlalchemy into my production
environment.
Any other suggestions that an
jango-pymssql (https://github.com/aaugustin/django-pymssql).
>
> Regards,
> Michael Manfre
>
> On Wednesday, October 15, 2014 9:03:54 AM UTC-4, robert brook wrote:
>>
>> The group has been developing locally with sqllite on Windows.
>>
>> We are porting the
The group has been developing locally with sqllite on Windows.
We are porting the installation to a Linux environment /windows sql server.
Looking for suggestions for database connectors from Linux to sql server
2014
using:
python3.3
django 1.7
I have installed a local copy of sql server to try
I have figured out how to determine if the url_conf was obtained from an
internal link (which would be the only acceptable workflow) or through a
url that the user typed into the address bar trying to subvert the workflow.
See the attached screen shot of the view.
If the view goes through the e
; workflow.
>
> On Fri, Oct 10, 2014 at 10:47 AM, robert brook > wrote:
>
>> I know how to detect an ajax request.
>>
>> I am interested int the general issue of the user typing in a valid url
>> for the application, but not appropriate for the particular workflow.
It would seem that this should be a common issue for any web site.
based on the DRY principle, how has this been resolved by other developers
On Friday, October 10, 2014 8:09:12 AM UTC-4, robert brook wrote:
>
> If I have 2 urls coded in the file for example
>
> url(r'^abc/$
I know how to detect an ajax request.
I am interested int the general issue of the user typing in a valid url for
the application, but not appropriate for the particular workflow.
I utilize the @login_required decorater.
I am looking for an analgous function to pass the user back to an
approp
If I have 2 urls coded in the file for example
url(r'^abc/$', views.abc),
url( r'^abc/def/$', views.def),
And the first url should be accessible by typing it into the browser.
The 2nd url should only be accessible from the application, not by virtue
of a user typing it into the browser.
How do
The requirements of the organization is to use Apache
On Friday, October 3, 2014 8:42:29 AM UTC-4, robert brook wrote:
>
> Can someone point me to a document on how to perform a setup for Apache.
>
> What modules would it be good to install ( I presume as a site package for
> Py
Can someone point me to a document on how to perform a setup for Apache.
What modules would it be good to install ( I presume as a site package for
Python)?
What should the settings.py reflect to accept calls from Apache?
What do I need to configure in the apache config file?
What port should
Person.objects.raw('SELECT * FROM some_other_table', translations=name_map)
That does not work.
Printing out the results from above gives me the following.
How do I convert this into a sql result, and or a dictionary?
The row above
On Monday, September 29, 2014 1:11:51 PM UTC
This was really not a core function of the application, so I wold not worry
about it.
Just add the data to a csv page and import it into sql lite to get you
going.
But I believe that you need to tell Python where the data base is located
using the settings file
import os
os.environ['DJANGO
>From the django project web site, I am trying to implement the following
code and have it spit out the dictionary form of the sql.
Does anyone have an example of how this is done.
The code below is from the project web page
https://docs.djangoproject.com/en/1.7/topics/db/sql/
When I execute
ew),
Thanks again
On Monday, September 22, 2014 10:25:11 PM UTC-4, robert brook wrote:
>
> How is a url conf written so that if none of the useful urls are matched
> it will pass through to some sort of wild card regular expressions so that
> the view / redirection can be performed gr
How is a url conf written so that if none of the useful urls are matched it
will pass through to some sort of wild card regular expressions so that the
view / redirection can be performed gracefully
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django us
29 matches
Mail list logo