Hello all,
I was trying to setup my django project on amazon ec2 instance. When I do
"python manage.py runserver 0.0.0.0:8000" and try to access the website
from my browser, I get the following stack trace:
Traceback (most recent call last):
> File "/usr/lib/python2.7/wsgiref/handlers.py", li
On Thursday, 26 May 2016 18:43:00 UTC+1, Bruce Whealton wrote:
>
> Hello all,
> I started a similar thread but couldn't find it.
> I was creating a Personal Information Management Project, with Project
> name mypim. My first app was a contacts app.
> This has two Class based Models in the mo
I have to implement a thread in order to test if (temperature>maximmum) it
sends an email .
I have done a python file which reads temperature and as a begining I have
tested an aplication that sends email when I access to its URL .
BUt I have no idea how to this into a thread !!! please help
If you are going to work with documents try mongodb
On Saturday, 28 May 2016 01:44:57 UTC+5:30, Jorge Maciel wrote:
>
> Hi, I'm developing a EDMS (Electronic Document Management System ) for
> small business. I am in doubt about the infrastructure should I use to
> create this system . I think h
Hi Bruce,
You need to call `contact.relationship.all` instead of
`contact.relationship_set.all`
We use `_set.all` when we want to retrieve the related items from the
master/parent object (Relationship in your case). So if you want to
retrieve all contacts under a relationship you can use
`.re
Hi Madhusudhana,
When you try to create the instance of Template, its looking for settings
that is why you are getting error.
*You cannot play in python shell without creating django project*
Create the project and use django shell. The following code snippets may
help you in creating project
Dude,
You need to make the following changes.
1. you need to pass a dictionary as the context in your views
return render(request, 'approval.html', {'posts': posts})
2. the prefer the posts to be list of dict
change
posts = {}
...
LL = [(1,eac
Its already addressed.
You can simply run ./manage.py makemigrations and ./manage.py migrate
it will create migrations only for MyAnotherFunModel
On Thursday, 26 May 2016 01:02:08 UTC+5:30, Arnab Banerji wrote:
>
> Hi all,
>
> I currently have a set of models associated with my Django app, w
I have that problem when I change model in view class EditView on
PersonalInfo I have response that "Not found personal info that meet your
criteria" when I have model = MysiteUser than it is ok but when I change on
model = PersonalInfo than it's a problem.
views.py
from django.contrib.message
You can create a celery task fro this. See this link for more details.
http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
On Saturday, 28 May 2016 19:51:49 UTC+5:30, 2me wrote:
>
> I have to implement a thread in order to test if (temperature>maximmum) it
> sends an em
Check the primary key you are passing in the URL while calling the view.
Key of PersonalInfo need not to be the same as that of MySiteUser
On Saturday, 28 May 2016 23:44:00 UTC+5:30, Dariusz Mysior wrote:
>
> I have that problem when I change model in view class EditView on
> PersonalInfo I ha
I wrote something for send async notification that works with celery
https://github.com/luisza/async_notifications
There is a demo project and some ideas about how to implement it.
If you like you can use it and if you want to extend do it and let me know
for incorporate you're code.
El sábado,
12 matches
Mail list logo