2014-07-30 21:33 GMT+02:00 aRkadeFR :
> Excellent.
>
> Thanks for the share.
>
> How backward compatible is it?
>
> On 29/07/14 17:51, Santiago Lamora wrote:
> > 2014-07-29 16:50 GMT+02:00 John :
> >
> > > How can one submit 3 forms simultaneously?? Even ajax, is on by one!
> > >
> > >
> > Quottin
On Wednesday, 30 July 2014 19:02:00 UTC+1, Miguel Angel Yáñez Camacho wrote:
in my view in this code i can access to a regular field but i CANT access
> to custom fields, give me error
> plantillas_db = templates_keyword.objects.select_related(
> 'plantilla').filter(keyword=bd_keyword
i have a problem of displaying my image on my web page.
i have upload my pic in admin and when i display it it shows me the this
media/Lighthouse_1.jpg
models.py
class Image(models.Model):
title = models.CharField(max_length=60, blank=True, null=True)
image = models.FileField(upload_to
Hi all,
I have a complete HTML website and a few python scripts.
I want to run those scripts via HTML events such as clicking a button.
I read Django tutorial and found out that it is using Views to create HTML
content.
Is there any way I can do it without using the Views and use the HTML code
Hi Vipul,
I think you should follow the Django tutorial a bit further. Your HTML
pages can be used as templates for the result of the views. Views in django
aren't the View in a MVC-pattern, but rather the controller (this was
something that confused me when I started in Django). So the python par
Hi,
is anyone interested in co-building a full featured web client for
xenserver instances?
Since version 6.2 the update procedures are really a pain which is one of
my reasons to think about an (maintained) opensource client.
Ideas are welcome.
Cheers
--
You received this message because yo
Hi Everyone,
I have a website written in python+django and I deployed it to
pythonanywhere.com. It's okay, works well, but I want to deploy new
versions. How should I do that?
Just copy the new files with rsync? Or change the full django project
directory?
I would be really grateful if you wro
It runs twice because runserver uses two processes: the real server, and;
the monitoring process that restarts the other when you change a source
file. You could fool around with undocumented internals to figure out which
a given import is running in. Or you could use a modifies runserver
command.
I think if you put it in urls.py it should run (once) just before the first
request.
On Thursday, July 31, 2014 10:30:08 AM UTC-4, ke1g wrote:
>
> It runs twice because runserver uses two processes: the real server, and;
> the monitoring process that restarts the other when you change a source
Hi Guys,
I need to create a couple of tables with 64-bit int data type primary keys.
I've been googling around and I haven't seen anything really recent in
regards to this. Does Django 1.7 support auto incrementing 64-bit int
primary keys? If not out of the box, does anyone have a reliable s
You mentioned "full featured". Check out
https://github.com/openstack/horizon if you haven't.
On Thursday, July 31, 2014 9:55:43 AM UTC-4, ma...@tubeards.com wrote:
>
> Hi,
>
> is anyone interested in co-building a full featured web client for
> xenserver instances?
> Since version 6.2 the upda
Are you using ?
On Thursday, July 31, 2014 7:20:19 AM UTC-4, ngangsia akumbo wrote:
>
> i have a problem of displaying my image on my web page.
>
> i have upload my pic in admin and when i display it it shows me the this
>
> media/Lighthouse_1.jpg
>
> models.py
>
> class Image(models.Model):
>
Does it work fine on django 1.6? It could be a regression.
On Wednesday, July 30, 2014 10:41:58 AM UTC-4, Jani Kajala wrote:
>
> Hi,
>
> I have a problem with leaking Postgres DB connections even if I
> have CONN_MAX_AGE=0. Every time I start the server and stop it by
> Ctrl+Break a DB connectio
Right, the question isn't "is user x logged into the website right now", it
actually only makes sense for for request.user. This will return all users
in the database: logged_in_users = [user for user in User.objects.all() if
user.is_authenticated()]
--
You received this message because you ar
It gets confusing if those fields are editable in the admin. I recommend
setting editable=False on those fields.
On Sunday, July 27, 2014 6:47:33 PM UTC-4, Russell Keith-Magee wrote:
>
>
> I'm not aware of a formally documented list anywhere.
>
> To the best my knowledge, the bug/downside that i
I just use commandline imagemagick instead of PythonMagic, if the python
bindings are the issue getting imagemagick to work.
cmd = 'convert -density 300 -flatten -interlace line -quality 92
-colorspace sRGB -thumbnail'.split() + size + [default_storage.path(name) +
'[0]', 'jpg:-']
proc = Popen(
And if local dev is an issue, you could try setting MEDIA_URL to your live
site.
--
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+unsubscr...@google
What does the FieldError say?
--
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+unsubscr...@googlegroups.com.
To post to this group, send email to dja
class Color(models.Model):
red_or_white = models.CharField(max_length=10, choices=[('red', 'Red'),
('white', 'White')])
tone = models.CharField(max_length=32)
class Wine(models.Model):
name = models.CharField(max_length=255)
color = models.ForeignKey(Color)
--
You receiv
If you are using the admin:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_choice_field
Otherwise, you'll need to dynamically create that field or the entire form.
--
You received this message because you are subscribed to the Google Group
doesn't work because then my charts dont appear when i enclose the script
tag.
On Wednesday, July 30, 2014 7:44:48 PM UTC-6, Camilo Torres wrote:
>
> Hello, you can use 'verbatim':
> https://docs.djangoproject.com/en/1.6/ref/templates/builtins/#verbatim
>
> On Wednesday, July 30, 2014 6:59:05 PM
I'm building a report builder for my Django app and could use a little
advice.
My reports are fairly simple where I accumulate scores of data (easy
enough) but then I want to alter the report totals by varying dimensions
(date ranges / split dates/weeks/months / owners / other metadata etc.).
Is there a way to answer your question "is user x logged into the website
right now" in Django code?
On Thursday, July 31, 2014 11:05:29 AM UTC-5, cmawe...@gmail.com wrote:
>
> Right, the question isn't "is user x logged into the website right now",
> it actually only makes sense for for request
something like this may work:
from django.contrib.auth.models import User
from django.contrib.sessions.models import Session
User.objects.filter(id__in=(s.get_decoded().get('_auth_user_id') for s in
Session.objects.all()))
for s in Session.objects.all()
--
You received this message
or for a specific user:
from django.contrib.sessions.models import Session
any(s.get_decoded().get('_auth_user_id') == user.id for s in Session.objects
.all())
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
Could not resolve tblconfigagentgroupmembers.
I've resolved the issue now though. I moved the model to models.py from the
models_auto.py file and was then getting some validation errors mostly
missing id fields(just set primary keys on the generated models) and now
it's working as expected.
On F
no
On Thursday, July 31, 2014 4:43:15 PM UTC+1, cmawe...@gmail.com wrote:
>
> Are you using ?
>
> On Thursday, July 31, 2014 7:20:19 AM UTC-4, ngangsia akumbo wrote:
>>
>> i have a problem of displaying my image on my web page.
>>
>> i have upload my pic in admin and when i display it it shows m
*Got an invalid attribut error*
class Product(models.Model):
name = models.CharField(max_length=255, unique=True)
slug = models.SlugField(max_length=255, unique=True,
help_text="Each product has a unique name")
brand = models.CharField(max_length=50)
sku = models.CharFi
I would also add that using the Max ID as the annotation field for the
device (group) is what I am using in the interim, but it only works since
currently my log IDs are automatically generated and each newly entered
timestamp is younger than the previous. My concern is that I would like to
ext
On 1/08/2014 3:37 AM, G Z wrote:
doesn't work because then my charts dont appear when i enclose the
script tag.
Can you put the js into a file and use the template to include it?
On Wednesday, July 30, 2014 7:44:48 PM UTC-6, Camilo Torres wrote:
Hello, you can use 'verbatim':
https:
Is this the latest greatest docs for Django on Google AppEngine?
http://django-nonrel.org/
There seems to be another page high on a search:
http://www.allbuttonspressed.com/projects/djangoappengine#installation
With the first doc I was able to get a toy Django app running wit
Do you have the full error message?
On Thursday, July 31, 2014 5:48:55 PM UTC-4, ngangsia akumbo wrote:
>
> *Got an invalid attribut error*
>
> class Product(models.Model):
> name = models.CharField(max_length=255, unique=True)
> slug = models.SlugField(max_length=255, unique=True,
>
Hi Everyone,
I have a website written in python+django and I deployed it to
pythonanywhere.com. It's okay, works well, but I want to deploy new
versions. How should I do that?
Just copy the new files with rsync? Or change the full django project
directory?
I would be really grateful if you wro
You can copy the files on top of the old files and then restart the
web server, which will bump the wsgi or fastcgi, which should be
sufficient.
cheers
L.
On 1 August 2014 15:06, Zoltán Turcsányi wrote:
> Hi Everyone,
>
>
> I have a website written in python+django and I deployed it to
> pythona
Hi all,
I have a thermal line printer (a Zebra LP2824 fwiw) and I've
discovered/worked out that I can print with it by just sending a text,
a la:
cat filename | nc
I tried this in my view:
return redirect("", "string")
but it's printing out the HttpResponse object.
How would I send a string
Openstack is huge. I'll prefer a lightweight solution, maybe just HTML/CSS
(if there is already a good Soap client for JS). But this should be
compatible to most of the API features provided by xen.
Am Donnerstag, 31. Juli 2014 17:39:53 UTC+2 schrieb cmawe...@gmail.com:
>
> You mentioned "full f
THX
Z
2014. augusztus 1., péntek 7:12:38 UTC+2 időpontban Lachlan Musicman a
következőt írta:
>
> You can copy the files on top of the old files and then restart the
> web server, which will bump the wsgi or fastcgi, which should be
> sufficient.
>
> cheers
> L.
>
> On 1 August 2014 15:06,
37 matches
Mail list logo