On 11/12/2011 08:25 PM, Dan Poirier wrote:
There are some ways to make large data imports much faster. See e.g.
http://www.caktusgroup.com/blog/2011/09/20/bulk-inserts-django/
Hi Dan!
Import speed was not my primary concern during these first attempts. I
thought that django-csv-importer
On 11/13/2011 08:38 AM, Fabio Natali wrote:
[...]
Here is my try:
###
from django.db import models
from csvImporter.model import CsvModel
class MyCsvModel(CsvModel):
name = models.CharField()
age = models.IntegerField()
length = models.FloatField()
class Meta:
delimiter = ";"
my_csv_list = MyC
Hello and thanks for the respond.
My knowledge on caching was little. I used it, but I never programmed it
my self. So I had no idea about how the keys would be stored.
The solution was... I did not mess with my memcached.py or anything
else. I just use it as everybody else is using it.
The prob
On 11/12/2011 07:40 PM, Andre Terra wrote:
Hello, Fabio
I took a look at django-csv-importer but since my files weren't quite
clean (or comma separated), I ended up rolling my own solution using
celery[1], to make the uploading rask asynchronous, and DSE[2], to allow
for faster bulk imports, as
On Saturday, 12 November 2011 23:04:44 UTC, Emil Sandin wrote:
>
> Hi, I am running a Django app on appengine, but I am constantly
> hitting the roof with read operations.
> I have not found an easy way to find what's causing this, so I am
> trying to find it out myself.
> To me, it seems that
http://www.acronymfinder.com/MVP.html ?
On Nov 12, 9:04 am, skier31415 wrote:
> I'm a coder, but I don't code for the majority of my time. What I do
> is identify, install, employ, and adapt mostly working solutions. I
> stand on the shoulders of giants. There are very few good ways to
> ident
Hello,
I am moving data from a ODBC source to Django. This works well with
models explicitly defined. But how would I create records directly for
the (implicit) intermediary ManyToMany relationship table?
Cheers
Sebastian
--
You received this message because you are subscribed to the Google Gr
Hi,
I wondered whether (and if yes how) I can combine
login_required and include() in my urls.py file
Basically I'd like to require login for every url belonging to a certain
application.
currently urls.py looks like:
from django.conf.urls.defaults import patterns, include, url
from django.
Hi,
I have now an error message showing up when accessing the django admin
interface for some of my models. Fails already at the front page
The main problem, that I have is, that the stack trace does not relate
to any line of my code, so I'm alittle at a loss how to fix it.
The stack trace is:
I am setting up nginex, apache, python django, mysql based application
on EC2. I expect high web traffic and high mysql query usage. Mysql
and web server will on seperate servers.
Which linux distro should I use for heavy production use - Ubuntu,
Centos or Debian?
Does it matter?
I see most inst
I need to know how to setup a proxy.cgi script on my Local Django
Development setup and can't seem to find the right information to do
it.
The closest i've gotten to running any cgi script is when it just
displays the source code on the webpage...which isn't exactly
'running' is it?
Is it ok to ru
Im assuming he means Model View Presentation because of the Django Context.
On Nov 13, 2011 8:53 AM, "Stuart Laughlin" wrote:
> http://www.acronymfinder.com/MVP.html ?
>
> On Nov 12, 9:04 am, skier31415 wrote:
> > I'm a coder, but I don't code for the majority of my time. What I do
> > is ident
The main difference with Ubuntu is that it's a binary distribution
(pre-compiled binaries for a standardized platform). I use Gentoo,
personally, which is a variant of Debian with "portage" rather than "apt".
LAMP server stuff is readily available on all distros of Linux. If
you're hardcore the
I have all my static being served from https://www.example.com/media/
in my code I have all images pointing to /media all over the code.
for example:
Is there a way I can point it to use S3 and cloudfront to serve the
static files.
My understanding is that I cannot use CNAME. If I was using
med
This has gotta be easy but I'm not finding a solution in this list or
snippets: how do I make Admin display foreign keys on change lists as
links to the related record's change form? The displayed value is
correct I just need it to be a hyperlink.
Thanks for any help-
Lee
--
You received this m
On Mon, Nov 14, 2011 at 8:47 AM, ydjango wrote:
> I have all my static being served from https://www.example.com/media/
>
> in my code I have all images pointing to /media all over the code.
> for example:
>
> Is there a way I can point it to use S3 and cloudfront to serve the
> static files.
>
>
Hi, I am new to dJango an now I need to get the name of the user that
authenticated before the execution of the Save method but I can't seem
to find any way to accomplish this.
Does anyone know how to do this?
Thanks for your help
--
You received this message because you are subscribed to the G
I would suggest that you use whatever your sysadmin (or if no sysadmin,
developer (or if it's just you, you)) are most familiar with. I assume
the packages that you are using (at least the ones you've listed) will
be in the package management systems for any of the distros that you
have listed
No, Gentoo is not a variant of Debian.
I also don't think there are variants that are for "hardcore" users more
than others. If you're "hardcore", then you should be able to do things
like write your own kernel modules and perform low-level disk operations no
matter the distro.
I personally love
I don't have a recommendation on a specific distribution -- that's really a
matter of personal taste and experience. However, try to go with a
free-tier instance until you really need to upgrade. There are only certain
images that can be used with that free-tier. It's a pretty good deal! I've
used
Does anybody have any idea?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more op
I was concerned that Ubuntu being a desktop OS might have some
limitations which CENTOS or Debian being Server OS might not have.
Based on answers so far, looks like all the distributions are quite
close and my concern about ubuntu is unfounded. If it is all matter
taste then I will go with Ubuntu.
if i had to choose a linux distro, i'd go with debian. however if i
can choose whatever i want then i'd go with freebsd. we are using
freebsd on 6 web servers and debian on 2 with the same hardware
configuration freebsd is outperforming debian.
On Nov 13, 9:56 pm, ydjango wrote:
> I am setting up
Good afternoon,
After trialling ~20 CMSs, I have decided that none are extensible
enough for my project, and that a web-framework is best.
Of the various web-frameworks, Catalyst and DJango seem to be the most
powerful, and also have the most pre-built extensions.
My question to both users-group
Perhaps you have a foreignkey, Assumption is that person
just like this:( in your models)
def go_person(self):
return mark_safe(u'%s' %
(self.person.get_absoulte_url(), label))
go_person.allow_tags = True
go_person.short_description = 'GO_PERSON'
--and in your admin.py:
list_dispaly = ('go_
On Sun, Nov 13, 2011 at 8:52 PM, ydjango wrote:
> I was concerned that Ubuntu being a desktop OS might have some
> limitations which CENTOS or Debian being Server OS might not have.
AFAICT, there are very few differences between 'server' and 'desktop' distros:
- server distros don't have desktop
I have been using the Python line continuation symbol +\ in my models
help_text when my text goes beyond column 80 in my editor.
I just accidentally omitted it for a continued line and discovered it
doesn't seem to be needed!!!
Is that a feature of Django's admin app or a trap for the unwary?
Hi
you need to keep the object in memory not in the database i think that what
you are asking .If that
you need to something like this
variablename = Tablename.objects(fieldname = whatever )
do not write after variablename.save() after making this .Don't use create.
On Mon, Nov 14, 2011 at 5
28 matches
Mail list logo