That worked.
I was not aware of the csrf exempt directive.
My email form works the way that I want.
On Friday, August 28, 2015 at 5:22:46 PM UTC-4, pythonista wrote:
>
>
>
> I have created a form that works fine for GETS and POSTS through the
> browser.
>
> I have embedde
I have created a form that works fine for GETS and POSTS through the
browser.
I have embedded the form with a GET (action) in the email, and the data
gets transferred to the server as expected.
The email POST looks like it needs a csrf token.
Is there anyway to generate this and embed it on t
The application is working as expected in my development region, but when
the admin migrates it to the server and starts up gnicorn and nginx, I get
the following errror.
I would appreciate any assistance.
The application was running the first time we migrated 2 weeks ago to QA.
Not sure if th
I want to code the urls.py such that if someone types in any garbage inn
the browser the final line of the url router will grab the line and reroute
it to some page(the home page) for example.
I added the following line of code to the bottom of the url
url(r'^([a-zA-Z0-9\-\_]*)', views.my_def
ple of creating a custom manager here:
> https://docs.djangoproject.com/en/dev/topics/db/managers/#custom-managers
>
> Collin
>
> On Saturday, December 20, 2014 8:28:57 AM UTC-6, pythonista wrote:
>>
>> Thank you for your response.
>>
>> Most of my data is co
I am having some issues with trailing slashes.
The application is working fine from my local machine whether I add a
trailing slash or not.
It is not working as expected on the servers. The link is being redirected
to localhost for some reason.
I thought that SLASH_APPEND= True was on by def
SQL, complex queries)
> - models.py: All logic as a row level / object level (python computing
> data)
> - forms.py: All logic as forms data / processing / validation for
> request data
>
> Have a good one,
>
> aRkadeFR
>
> On 12/18/2014 10:12 PM, pythonista wrote
I understand that functions can be placed in the models fille
However if I have complex queries that receive post input does the
Query live in the model the views or an external module
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
0, 2014 11:55:15 AM UTC-5, pythonista wrote:
>
> I am getting a request from the security infrastructure and I could use
> some advice/recommendation.
>
> This is a 3 tier application.
>
> Apache/Django/Sql Server
>
> Apache is https and there is a proxy server between.
I can actually help you here.
I had the same problem and tried 4 different modules.
The only module that works with sql server is
https://github.com/michiya/django-pyodbc-azure
I am running it both on windows and linux, simultaneously.
The settings components are displayed on the web site.
I am getting a request from the security infrastructure and I could use
some advice/recommendation.
This is a 3 tier application.
Apache/Django/Sql Server
Apache is https and there is a proxy server between.
The security team is saying that the communication from Django should also
be ssl enc
My apache admin is having problems serving static files to the django app.
Apache is on its own server.
My admin says that he needs a relative path defined in Django in order to
get Apache to serve the static files from that server for the Django App
Is it possible to define relative paths in
The application was working successfully on the Linux server.
I am trying to implement the ssl functionality and getting the stack trace
below after following the instructions
Any suggestions as to what is going on and how to fix this.
We are running the dev server with a separate Apache ser
I am using django 1.7 and apache.
I do not understand the instructions on the django tutorial.
The files were delivered as expected in debug mode and locally from the
django web server.
Can someone provide me with a simple example or link to a site.
Thanks
--
You received this message becau
I am connecting django linux and windows 7 to sql server.successfully
django 1.7 and python 2.7.8
I was successful with django-azure-pyodbc
The 3 other packages that I tried did not work.
On Friday, November 14, 2014 9:37:41 PM UTC-5, Michael Manfre wrote:
>
> A heads up to anyone using Django-
15 matches
Mail list logo