django 1.4 version
postgresql 9.1 version
I have successfully loaded all the html files and css on browser using
django.
Now i have some tables in postgresql ,which i need to integrate it with
django and .html files so that data will be read and execute both from html
file inputs and database
I'm looking for the best-practice for handling when a class uses Python's
time.timezone and it is imported when the settings file is loaded but it is
also instantiated within a Django site. I get the timezone as expected from
the OS as opposed to the timezone declared in the TIMEZONE setting bec
What I want to do is, whenever I create a new message, I want the *sender *of
the *Message* to be added to the *user *of the *Thread.* How do I do that?
> class Thread(models.Model):
> user = models.ManyToManyField(User)
> is_hidden = models.ManyToManyField(User, related_name='hidden_thre
I am planning to replace Django's ORM with sqlalchemy, does anyone know any
good tutorials step by step or github repo that show you how to do it?
Thanks
--
⚡ Chen Xu ⚡
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
Hi folks -
We've just published a short security advisory about ImageFields:
https://www.djangoproject.com/weblog/2013/dec/02/image-field-advisory/
ImageField expects a valid image file, but depending on your app it may
allow uploads on non-image content, such as HTML or JavaScript.
Unfortun
Thanks Felipe!
On Monday, December 2, 2013 11:03:54 AM UTC-5, Felipe Coelho wrote:
>
> 2013/12/2 Blake Adams >
>
>> Hello I am a python noob going through the getttingstarted with django
>> tutorial.
>>
>> For some reason When I start a new project, the default settings.py file
>> is missing a l
2013/12/2 Blake Adams
> Hello I am a python noob going through the getttingstarted with django
> tutorial.
>
> For some reason When I start a new project, the default settings.py file
> is missing a lot of default settings (Admin, Media, Some of the Databse
> info, Statis_file, Logging, etc.). I
Hello I am a python noob going through the getttingstarted with django
tutorial.
For some reason When I start a new project, the default settings.py file is
missing a lot of default settings (Admin, Media, Some of the Databse info,
Statis_file, Logging, etc.). Im looking for any direction on w
So I have frontend django application on one machine while want to save
user uploaded files to another computer - which will work as a file server
(nginx serving static files) and trying the best solution.
So far I'm thinking about setting up ftp server on the second machine and
use this ftp st
Hi
I am not really sure how to ask the Django docs what I want to do for this
Could someone point me at the docs please
I have a 3 column layout: left & right unchanging columns and a main column
in the middle
Left column is a fixed navigation template
Centre column is the usual dynamic CBV temp
Not sure how the header injection will work in this case ?
As I see it, I am using this in the email text for the email body. This is
generated and sent in a view function I have. So, how will the http header
get inserted in this flow ?
Vibhu
On Fri, Nov 29, 2013 at 7:39 PM, Joseph Mutumi wro
On Fri, Nov 29, 2013 at 3:44 PM, tino wrote:
>
>
> Hello
>
> I am trying to run a project that was setup in another server, but getting
> the following error. I am using python 2.7, django, virtualenv. So I am
> running the project inside a python virtual environment
>
>
> (virtualenv)[web.srv1 da
Hi Russ,
Thanks for your detailed response, deserving of this detailed investigation:
I eventually found that it is the simple declaration of a model within the
test suites that is causing the problem:
django.contrib.contents.tests causes the problem - even if I removed all of
the tests and just
13 matches
Mail list logo