It's not a good idea to send emails directly from OpenShift since we are on
AWS ip ranges. You should use a service like SendGrid or MailGun.
On Monday, April 6, 2015 at 10:31:11 AM UTC-7, Guilherme Leal wrote:
>
> Is anybody using OpenShift for Django hosting? I'm having trouble
> configuring t
On 7/04/2015 1:07 AM, Pavel Kuchin wrote:
Hi Mike,
I think the issue is that Django can't find your default DB settings.
Please take a
look: https://docs.djangoproject.com/en/1.8/ref/settings/#databases
Pavel
Thanks for responding. I have had that setting running since they were
first called
I'm still not sure whether you are trying to load the value in the form
input from the server or from the browser of the client.
On Mon, Apr 6, 2015 at 5:42 PM, José Jesús Palacios
wrote:
> I'm trying read serial to put in a field on a form and submit to database.
> Data can be a weight of weigh
On Mon, Apr 6, 2015 at 5:32 PM Tiglath Suriol
wrote:
>
> On Monday, April 6, 2015 at 3:02:30 PM UTC-4, Flavia Missi wrote:
>>
>> Hello Tiglath,
>>
>> On Monday, April 6, 2015 at 1:06:43 PM UTC-3, Tiglath Suriol wrote:
>>>
>>>
>>> Environments have servers; servers have applications; applications
If this post is not allowed, please delete. Thanks
I lead a development team that uses django and python to build an online
web portal. I am looking for additional help short or long term, if you
are **very comfortable with all of the following skills** please let me
know and send your resume/
I've implemented this same solution (using custom file storage and the
"upload_to" parameter) but now cannot get the uploaded files to display
from my template. I would normally use {{ STATIC_URL }} but, since I've now
specified a custom location, I'm not sure why my path, which I've
hard-coded
Hello,
I am going mad for a strange behaviour of django.
I have this packages installed in a virtualenv:
##
Django==1.6.10
South==1.0.2
argparse==1.2.1
dj-database-url==0.3.0
django-appconf==1.0.1
django-classy-tags==0.6.1
django-cms==3.0.12
django-compressor==1.4
django
I'm trying read serial to put in a field on a form and submit to database. D
ata can be a weight of weighbridge, number of car plate or reading a
barcode.
Outside the browser, It's not problem, but I want to use it as user
interface.
El domingo, 5 de abril de 2015, 19:55:02 (UTC+2), Vijay Kheml
On Monday, April 6, 2015 at 3:02:30 PM UTC-4, Flavia Missi wrote:
>
> Hello Tiglath,
>
> On Monday, April 6, 2015 at 1:06:43 PM UTC-3, Tiglath Suriol wrote:
>>
>>
>> Environments have servers; servers have applications; applications can be
>> on various servers, and applications have files.
>>
I figured it out (thanks to the help of Brandon Taylor)! Well, found a way
to display the errors.
In my view, I used formset.__dict__ to print out the object. This showed
that the non-form errors were in the "_non_form_errors" key!
Thank you for your help Bill!! Maybe this can help you at some
Hello Tiglath,
On Monday, April 6, 2015 at 1:06:43 PM UTC-3, Tiglath Suriol wrote:
>
>
> Environments have servers; servers have applications; applications can be
> on various servers, and applications have files.
>
>- servers must be unique within environments,
>- applications must
I would like to deploy multiple django projects that are either completely
unrelated, but deploy them on the same server running apache. I am not a
savvy apache administrator and our small company does not have one. The
use of virtualenv is probably a good idea, but not mandatory in that we
h
Is anybody using OpenShift for Django hosting? I'm having trouble
configuring the Logging engine to send emails on errors and could use some
help.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
I'm looking at moving one of my projects from coffin to django-jinja
because that project has already hooked into the new 1.8 multiple
template engine support. But reading through the docs I came across
this:
"""
django-jinja does not works properly with django’s TemplateResponse
class, widely use
Hi Bill,
No luck:( I moved the `if any(self.errors):` to the bottom of the clean
function and no change
Thank you (again!) for your help,
Stephani
On Monday, April 6, 2015 at 12:12:58 PM UTC-4, Bill Blanchard wrote:
>
> Hi Stephanie,
> It looks like you're not returning anything when you hi
Hi Stephanie,
It looks like you're not returning anything when you hit an error. Try:
...
def clean(self):
if any(self.errors):
return self.errors
...
On Mon, Apr 6, 2015 at 12:00 PM, Stephanie Socias
wrote:
> I implement a custom clean method to validate my formset. I know there a
Environments have servers; servers have applications; applications can be
on various servers, and applications have files.
- servers must be unique within environments,
- applications must be unique on each server.
- files must be unique within an applications.
Will this accompl
SOLVED.
It turns out a better approach was to call objects in the template like:
{% csrf_token %}
Select Job Position
Choose
{% for job in user.company.job_set.all %}
{{ job.title }}
{% endfor %}
Status
{{ form.status }}
{{ form.status.errors }}
Confirm
class SendCandForm(forms.Form):
I implement a custom clean method to validate my formset. I know there are
error as I can print them to the console but these non_form_errors() are
never rendered in my template. How can I render them?
template.html:
{% csrf_token %}
{{ dataset_form.media }}
Hi Mike,
I think the issue is that Django can't find your default DB settings.
Please take a
look: https://docs.djangoproject.com/en/1.8/ref/settings/#databases
Best regards, Pavel
понедельник, 6 апреля 2015 г., 15:44:01 UTC+3 пользователь Mike Dewhirst
написал:
>
> Can someone please explain
Can someone please explain what KeyError: 'default' means?
This is the first time I have tried Django 1.7 and without doing any
migrations all I have done here is this ...
(xxex3) C:\Users\mike\env\xxex3\ssds>copy
substance\fixtures\test_data.json substance\fixtures\initial_data.json
(xxex3
If Django complains about model not being ready use following snippet to
obtain it at migrate_data.
Amodel = apps.get_model("an_app", "Amodel")
On Monday, April 6, 2015 at 4:08:18 PM UTC+5:45, SHINTO PETER wrote:
>
> In Django , How to move data from one model to another model in same
> database
If Django complains about model not being ready using following snippet to
obtain the it at migrate_data.
Amodel = apps.get_model("an_app", "Amodel")
On Monday, April 6, 2015 at 4:08:18 PM UTC+5:45, SHINTO PETER wrote:
>
> In Django , How to move data from one model to another model in same
>
First migrate the changes with
$ python mange.py makemigrations app_name
Create an empty migration with
$ python manage.py makemigrations app_name --empty
Inside the empty migration file created through above command.
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import os
fro
Why Django populates the ContentType model after all the migration has been
applied? This causes problems during data migration, which contents
relation to ContentType module.
Is there a particular way to make successful data migration involving
creation of a model and migrating data into the t
In Django , How to move data from one model to another model in same
database & same schema ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsub
Hi,
I have nginx+uwsgi+django configured on my linux servers.
Sometimes when I restart/start my servers the processes get stuck. It comes
back after a few restarts.
My uwsgi log shows-
uwsgi socket 0 bound to UNIX address /tmp/uwsgi_watchman.sock fd 3
Python version: 2.7.5 (default, Mar 28 2014
27 matches
Mail list logo