Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Subodh Nijsure
Thank you so much for all your suggestions. I am using uWSGI I will certainly looking into that and then redis for caching. -Subodh On Tue, Aug 19, 2014 at 5:16 PM, Cal Leeming [iops.io] wrote: > Sorry forgot to add one more thing. > > For what it's worth, it does sound like a

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Camilo Torres
On Tuesday, August 19, 2014 11:59:31 AM UTC-4:30, Andrew Koller wrote: > > curl: (52) Empty reply from server > > On Tuesday, August 19, 2014 9:21:34 AM UTC-7, Tom Evans wrote: >> >> On Tue, Aug 19, 2014 at 5:07 PM, Andrew Koller >> wrote: >> > Yes they are on the same

Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Cal Leeming [iops.io]
Sorry forgot to add one more thing. For what it's worth, it does sound like a key/val store (such as memcache/redis) would be a better fit for this. Shared memory areas are great for storing huge lookup tables in high performance deployments, and it's always good to know these things for future,

Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Cal Leeming [iops.io]
On Wed, Aug 20, 2014 at 12:54 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Wed, Aug 20, 2014 at 4:27 AM, Subodh Nijsure > wrote: > >> Hello, >> >> I have application that servers time-series data for 10+ units. This >> data can get big and I don't

Re: Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Russell Keith-Magee
On Wed, Aug 20, 2014 at 4:27 AM, Subodh Nijsure wrote: > Hello, > > I have application that servers time-series data for 10+ units. This > data can get big and I don't want to retrieve 5-6MB worth of data > from cassandra and serve it out as JSON to the client. > > I

Re: Question about email sending with Google Apps

2014-08-19 Thread Mario Gudelj
Using an email address as from address, which doesn't exist, may hurt your deliverability. You can set it up and enable an auto responder which informs the user that the inbox isn't monitored. But if you want the delivery to fail then simply don't create it and use it as from email. On 20/08/2014

Re: Question about email sending with Google Apps

2014-08-19 Thread Chen Xu
I think my expected behavior of an no-reply email is a "Delivery Failure" when people try to reply. Can google apps do it if I create no reply user. On Tue, Aug 19, 2014 at 6:49 AM, Mario Gudelj wrote: > Most likely. In a lot of cases someone will be scaning those even

Caching some application data in memcache v/s in django process itself

2014-08-19 Thread Subodh Nijsure
Hello, I have application that servers time-series data for 10+ units. This data can get big and I don't want to retrieve 5-6MB worth of data from cassandra and serve it out as JSON to the client. I want to maintain cache of this time series data. I had horrible thought of just storing this

Re: Sending email using EmailMultiAlternatives where from_email contains comma

2014-08-19 Thread Chen Xu
If I create a user for no-reply, is there a way to make the reply "Delivery Failure" if people try to ? On Mon, Apr 21, 2014 at 9:45 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > Hi Erol, > > On Tue, Apr 22, 2014 at 1:20 AM, Erol Merdanović > wrote: > >> Hi

Re: Authenticating against django auth db from apache

2014-08-19 Thread Héctor Urbina
I deleted my browser's cache and it worked!. I just thought that closing my session on the django project's page would also close my session on this directory... H. On Tuesday, August 19, 2014 3:49:07 PM UTC-4, Héctor Urbina wrote: > > Hello Collin, > > Yes, commenting out the check_password

Re: Authenticating against django auth db from apache

2014-08-19 Thread Héctor Urbina
Hello Collin, Yes, commenting out the check_password line fixes the problem. On settings, I'm importing User from django.contrib.auth.models. I discovered that commenting out that stops the ImportError. However, the authentication doesn't happen when I visit my secret location. Apache simply

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 5:29 PM, Andrew Koller wrote: > curl: (52) Empty reply from server > You have a firewall or some other security mechanism stopping communication? Please verify that the django server is running and listening on the port we assume it to be: netstat

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Andrew Koller
curl: (52) Empty reply from server On Tuesday, August 19, 2014 9:21:34 AM UTC-7, Tom Evans wrote: > > On Tue, Aug 19, 2014 at 5:07 PM, Andrew Koller > wrote: > > Yes they are on the same computer and no, I don't get any additional > output > > to the console. I know

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 5:07 PM, Andrew Koller wrote: > Yes they are on the same computer and no, I don't get any additional output > to the console. I know that something is sort of working because the chrome > error message changes from "This webpage is not available" to

Re: Push like notifications app

2014-08-19 Thread Guy Bowden
Thanks for that. I guess with these two examples they're building blocks to build an admin announcements service rather than a complete app itself - we'd still create the 'annoucement' app containing the message, expiry, 'who to' and so on - and these apps would handle the distribution. I

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Andrew Koller
Thanks for your help, but I get the same result. On Monday, August 18, 2014 11:37:25 PM UTC-7, Sergiy Khohlov wrote: > > also try > python manage.py runserver 127.0.0.1:8000 > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Tue, Aug 19, 2014 at 8:46 AM, Aaron C. de

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Andrew Koller
Yes they are on the same computer and no, I don't get any additional output to the console. I know that something is sort of working because the chrome error message changes from "This webpage is not available" to "No data received" on 127.0.0.1:8000 On Monday, August 18, 2014 7:28:12 PM

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Andrew Koller
Yes they are. On Tuesday, August 19, 2014 2:13:18 AM UTC-7, Tom Evans wrote: > > On Tue, Aug 19, 2014 at 3:28 AM, Andrew Koller > wrote: > > I'm having issues getting the dev server to work. After I installed > Django, > > and > > > > $ python -c "import django;

Re: Problems with time field in mysql

2014-08-19 Thread Andreas Kuhne
Thanks Sergly, However, the problem is already when I try and get the object from the database. I know that it is the conversion from mysql to python that is the problem. This is the error message I get: Failed converting row to Python types; can't use a string pattern on a bytes-like object

Re: Problems with time field in mysql

2014-08-19 Thread Sergiy Khohlov
which one error ? Look like error is related to __str__ function but I'm not sure (I'm using python 2.7 ) Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Aug 19, 2014 at 6:09 PM, Andreas Kuhne wrote: > Hi all, > > I am having a problem with a time

Re: Looking for an email-based tutor

2014-08-19 Thread Martin Spasov
Hello study! My name is Martin and like you I am beginner. I am certainly not qualified to apply for this but would love to share what i know and to have some1 to comunicate with thats around my level of knowledge (i am currently building an commerce website as well). So

Problems with time field in mysql

2014-08-19 Thread Andreas Kuhne
Hi all, I am having a problem with a time field in my mysql database. I can add values to the database, but when I try to read the values, I get the following error: Failed converting row to Python types; can't use a string pattern on a bytes-like object (field start_time) The database model

Re: Looking for an email-based tutor

2014-08-19 Thread Erwin Sprengers
Hello, Why would you use Webpay.jp in combination with Django for EC ? I don't have any experience with this Webpay.ip but django has excellent apps such as django-oscar for EC. Why not using these apps, django-oscar is for instance very flexible and versatile (and is using already bootstrap)

Re: Python/Django Developer |For Hire| - 40 hours/week

2014-08-19 Thread Tiago de Souza Moraes
Hello, this is a remote work? Tiago On Tuesday, August 19, 2014 8:02:40 AM UTC-3, Subhish Nair wrote: > > > > *Hi,* > *I am Subhish Nair, BDE of SparkSupport Infotech Pvt Ltd.* > > > > *About Us :Sparksupport* is an agile organization with an impeccable > record for deploying and managing

Re: Looking for an email-based tutor

2014-08-19 Thread Sergiy Khohlov
Hello Study, It will be nice to have a list of the question. Could you please to tell about goal of the your learning ? Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Aug 19, 2014 at 9:39 AM, wrote: > Hi Python/Django developers, > > I've been

Re: django-cms apphook urls don't work with reverse() using Python shell

2014-08-19 Thread Ramiro Morales
On Tue, Aug 19, 2014 at 8:14 AM, Philipp wrote: > [...] > > This is my urls.py file: > > urlpatterns = patterns('', > url(r'^(?P[\w\-]+)?', ArticleView.as_view(), > name='article-by-slug'), > ) > > [...] reverse('article_app:article-by-slug', kwargs={'slug': a.slug})

django-cms apphook urls don't work with reverse() using Python shell

2014-08-19 Thread Philipp
Hi everyone, I've created a django CMS apphook. Unfortunately I'm not able to reverse apphook urls using the Python shell. The cms_app.py file looks like: class ArticleApp (CMSApp): name = _('Article App') app_name = 'article_app' urls = ['article.urls']

Looking for an email-based tutor

2014-08-19 Thread study . email . tokyo
Hi Python/Django developers, I’ve been learning python/django for some weeks now and now I’d like to look for a tutor to ask questions via emails. Here is the study that I’ve been doing. 1) Using Udemy and Udacity to improve my coding skills 2) My first project is simple EC site (My questions

Python/Django Developer |For Hire| - 40 hours/week

2014-08-19 Thread Subhish Nair
*Hi,* *I am Subhish Nair, BDE of SparkSupport Infotech Pvt Ltd.* *About Us :Sparksupport* is an agile organization with an impeccable record for deploying and managing end-to-end IT services for more than 8 years. Being pioneers in Infrastructure Management Services (IMS) and web-based

Re: Question on creating a contact form app using bootstrap template

2014-08-19 Thread Mario Gudelj
Some other options: - Install https://github.com/dyve/django-bootstrap-toolkit and use {{ form|as_bootstrap }}. See the docs for more options. - http://django-crispy-forms.readthedocs.org/en/latest/ Crispy Forms is amazing BTW (by the way) - Render your labels with {{form.field_name.label}} and

Re: Question about email sending with Google Apps

2014-08-19 Thread Mario Gudelj
Most likely. In a lot of cases someone will be scaning those even if it's a no-reply address. At least that's been a case in companies I worked for, but it depends how big you are and how much you like your customers. You simply forward the mail to one or more people and filter it as it cook need

Re: Question about email sending with Google Apps

2014-08-19 Thread Chen Xu
So does that mean when I see my registration confirmation email sent from no-re...@exmaple.com or supp...@example.com, they literally created the user no-reply or support for the type of purpose? Thanks On Tue, Aug 19, 2014 at 6:37 AM, Mario Gudelj wrote: > Every

Re: Question about email sending with Google Apps

2014-08-19 Thread Mario Gudelj
Every email account will have a username and password. Unless it's an alias, in which case you can't use it. Sounds like you've set up an alias here. You can still use it as a from email address, but can't use it to authenticate with smtp On 19/08/2014 6:13 pm, "Chen Xu"

Re: cms web buyilding

2014-08-19 Thread Tom Evans
On Mon, Aug 18, 2014 at 9:00 AM, ngangsia akumbo wrote: > then if drupal , jomlam has what django has then why are u building app with > django, that requires much coding? > Drupal and Joomla are CMS applications. They allow you to build Drupal and Joomla CMS apps. They are

Re: Question on creating a contact form app using bootstrap template

2014-08-19 Thread Martin Spasov
Maybe you could copy the classes and id's from the template and put them in your form like this : class SomeForm(forms.Form): name=forms.CharField(attrs={'class':'form-control', 'id':'name'}) message=forms.CharField(widget=forms.TextInput(attrs={'class':'the class name thats on the

Updating database object after a Signal is not working

2014-08-19 Thread Martin Spasov
So i am using django-paypal for a simple eCommerce website and my goal is to change the IPN's buyer fields to match the logged in user's registration info after a signal is received from paypal. Now I am almost there but there is something thats escaping me ... Here is the code models.py

Re: cms web buyilding

2014-08-19 Thread Amirouche Boubekki
2014-08-18 10:00 GMT+02:00 ngangsia akumbo : > then if drupal , jomlam has what django has then why are u building app > with django, that requires much coding? > That's the point, django admin and a good "plugin" flora (called «django applications» in Django noosphère) you

Re: Question about email sending with Google Apps

2014-08-19 Thread monoBOT
Dont know how thats usually done, i can tell you how we do it. We have an "out of repository" file where that important data is stored, like mail passwords, database name, user and pass, django SECRET_KEY, etc... And in settings.py you simply import it 2014-08-19 9:12 GMT+01:00 Chen Xu

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Tom Evans
On Tue, Aug 19, 2014 at 3:28 AM, Andrew Koller wrote: > I'm having issues getting the dev server to work. After I installed Django, > and > > $ python -c "import django; prindjango.get_version())" >> >> returns 1.6.5 > > Then: > > $ python manage.py runserver > > returns: > >

Re: Multilingual search with Haystack

2014-08-19 Thread Simon Bächler
It's not that simple. When using a search server you should have a separate index per language. Search server are processing text to improve indexing such as saving only the stem of a verb or removing plurals. This is highly language specific. The main problem is therefore the schema creation

Question about email sending with Google Apps

2014-08-19 Thread Chen Xu
Hi Everyone, I just setup google apps to use gmail with my own domain "example.com", and I want to use django send_mail to send emails from supp...@example.com, which might be for registration message, something like that. However, when I create the group in google apps, supp...@example.com will

Re: Question on creating a contact form app using bootstrap template

2014-08-19 Thread Kim
Thank you for the advice, Collin! However, If I have this HTML below, where should I put {{ form.[name] }}?

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-19 Thread Sergiy Khohlov
also try python manage.py runserver 127.0.0.1:8000 Many thanks, Serge +380 636150445 skype: skhohlov On Tue, Aug 19, 2014 at 8:46 AM, Aaron C. de Bruyn wrote: > After trying to load the page in Chrome, do you see any output in the > 'runserver' window? > > > On Mon,