Re: Is there a way to list users that have logged in within the pass 30 minutes

2013-03-04 Thread frocco
ok, thank you. I try the users logged in xx minutes ago code in stead of messing with the sessions. On Monday, March 4, 2013 3:10:19 PM UTC-5, Shawn Milochik wrote: > > No, because that will just invalidate the cookie so that they'll have to > log in again when they reopen their browser. > > It

I need to play a wav file

2013-03-04 Thread frocco
Hi, What is the django way to play a wav file? I only need to play it for a second or two. Thanks -- 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+

Re: I need to play a wav file

2013-03-04 Thread frocco
ok, I was thinking it was a python code thing. On Monday, March 4, 2013 3:23:10 PM UTC-5, Shawn Milochik wrote: > > This has nothing to do with Django. It's an HTML or maybe a JavaScript > thing. Just do a Google search. > > Unless you're going to dynamically generate the WAV file and need help

Re: I need to play a wav file

2013-03-04 Thread frocco
Thanks for the link. On Monday, March 4, 2013 3:37:38 PM UTC-5, Shawn Milochik wrote: > > On Mon, Mar 4, 2013 at 3:35 PM, frocco > > wrote: > > ok, I was thinking it was a python code thing. > > > > No, you can't execute arbitrary Python code on the user&#x

I want to check for new orders in the background?

2013-03-05 Thread frocco
Hello, I want to query the orders database every 5 minutes and alert admins that new orders have arrived. Would I use signals for this? Anyone have an example? Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
Would I send a signal after an order is saved? On Tuesday, March 5, 2013 8:38:14 AM UTC-5, frocco wrote: > > Hello, > > I want to query the orders database every 5 minutes and alert admins that > new orders have arrived. > Would I use signals for this? > > Anyone have a

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
onnect(user_order_handler) On Tuesday, March 5, 2013 8:49:46 AM UTC-5, frocco wrote: > > Would I send a signal after an order is saved? > > On Tuesday, March 5, 2013 8:38:14 AM UTC-5, frocco wrote: >> >> Hello, >> >> I want to query the orders database every 5 min

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
com/pinax/django-notification > > I think it should be able to help you. > > you can check the example of it on this SO thread - > http://stackoverflow.com/questions/1609775/how-do-i-display-notifications-from-django-notification > > On Tuesday, March 5, 2013 8:38:14 AM UT

Re: I want to check for new orders in the background?

2013-03-05 Thread frocco
I got this working using signals On Tuesday, March 5, 2013 9:28:31 AM UTC-5, frocco wrote: > > I tried your link https://github.com/pinax/django-notification > but it is not working. > > is there anything wrong with my code to prevent the signal from working? > > On Tuesday,

I screwed up my django site using touch

2013-03-07 Thread frocco
Location:/home/frocco/webapps/ntw/lib/python2.7/django/utils/importlib.py in import_module, line 35Python Executable:/usr/local/bin/pythonPython Version:2.7.3Python Path: ['/home/frocco/webapps/ntw', '/home/frocco/webapps/ntw/myproject', '/home/frocco/webapps/ntw/lib/p

Re: I screwed up my django site using touch

2013-03-07 Thread frocco
gt; Check the history of the files you've touched, and rollback all > indentation changes. > > > > On 03/07/2013 02:49 PM, frocco wrote: > > Hello, > > > > I am not sure what happened, I did a touch wsgi and then a touch wsgi.py > > I got an error

Re: I screwed up my django site using touch

2013-03-07 Thread frocco
The problem with the stack trace, is that I could not tell what views.py it was talking about. I use PyCharm, but at work I think I used notepad++ to make a quick change. I understand now that is is a python problem, but what bothers me is that I could not resolve it via the trace. I may have be

Re: I screwed up my django site using touch

2013-03-07 Thread frocco
cal history - show > history - ...) > > > On 03/07/2013 03:58 PM, frocco wrote: > > The problem with the stack trace, is that I could not tell what views.py > > it was talking about. > > I use PyCharm, but at work I think I used notepad++ to make a quick > change. &g

Re: I screwed up my django site using touch

2013-03-07 Thread frocco
. > > As far as this instance goes, you may or may not get better information > under runserver, assuming that you > have shell access to the server. If you truely can't figure out what > view.py you changed at or before line 29, > you can always patch > /home/frocco

How do i set div dynamically in template?

2013-03-08 Thread frocco
Hello I need to have a div set the on the first pass and then changed on the second pass for row in data first row second row endfor in PHP I could just assign a variable to the div and change it. How would I do this in django? Thanks -- You received this message because you

Re: How do i set div dynamically in template?

2013-03-08 Thread frocco
Thanks Tom On Friday, March 8, 2013 9:45:34 AM UTC-5, Tom Evans wrote: > > On Fri, Mar 8, 2013 at 2:34 PM, frocco > > wrote: > > Hello > > > > I need to have a div set the on the first pass and then changed on the > > second pass > &

Re: How do i set div dynamically in template?

2013-03-08 Thread frocco
Thank you, I found it. On Friday, March 8, 2013 9:51:00 AM UTC-5, Laurent Meunier wrote: > > On 08/03/2013 15:34, frocco wrote: > > Hello > > > > I need to have a div set the on the first pass and then changed on the > > second pass > > &g

how to automatically create userprofile when user is created from admin

2013-03-08 Thread frocco
Hello, right now, if I create a user in admin, I have to also create their userprofile that I have defined in settings. Is there a way to automate this? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group a

Re: I screwed up my django site using touch

2013-03-08 Thread frocco
t;> with changes newer than a given time (though the syntax can be squirrelly. >> >> On Thu, Mar 7, 2013 at 10:42 AM, Shawn Milochik wrote: >> >>> On Thu, Mar 7, 2013 at 10:38 AM, frocco wrote: >>> > Thanks you, I think I will only use Pycharm now to help preven

cannot install django-tracking

2013-03-11 Thread frocco
Hello, I am getting django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. trying pip install django-tracking Does th

Re: Errors in my first django app

2013-03-11 Thread frocco
Do you have polls defined in your INSTALLED_APPS? INSTALLED_APPS ( 'polls', ) On Monday, March 11, 2013 8:03:13 AM UTC-4, jesmine chaudhuri wrote: > > Error: App with label polls could not be found. Are you sure your > INSTALLED_APPS setting is correct? > > > The app is in django 1.3 projec

Re: cannot install django-tracking

2013-03-11 Thread frocco
Thanks, I guess it is a 1.5 problem. On Monday, March 11, 2013 8:34:31 AM UTC-4, Nick Dokos wrote: > > frocco > wrote: > > > Hello, > > > > I am getting > > django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, > but settings are not

Re: cannot install django-tracking

2013-03-11 Thread frocco
I see there is a pull request that fixes install for 1.5 How do I do a pull request to get the latest version? -- 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 d

Re: cannot install django-tracking

2013-03-11 Thread frocco
Nevermind, duh On Monday, March 11, 2013 12:33:32 PM UTC-4, frocco wrote: > > I see there is a pull request that fixes install for 1.5 > > How do I do a pull request to get the latest version? > -- You received this message because you are subscribed to the Google Groups "

how do I run a django script from command line or Pycharm?

2013-03-12 Thread frocco
I want to run the code below in a file called migration.py from django.db import connections from django.core.exceptions import ObjectDoesNotExist from django.db.utils import ConnectionDoesNotExist from django.conf import settings import models def setup_cursor(): try: cursor = conne

Re: how do I run a django script from command line or Pycharm?

2013-03-13 Thread frocco
Thank you, I am going to try the extensions first. Regards, Frank -- 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

Looking for a simple newsletter app

2013-03-13 Thread frocco
Hello, Does anyone know of a simple newsletter app I can add to my website? Thanks -- 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...@goo

Re: Looking for a simple newsletter app

2013-03-13 Thread frocco
reviously ( > http://vimeo.com/16793999). > > Sincerely, > Pankaj Singh > http://about.me/psjinx > > > On Wed, Mar 13, 2013 at 6:00 PM, frocco >wrote: > >> Hello, >> >> Does anyone know of a simple newsletter app I can add to my website? >> >> T

how do I order a selection box in admin?

2013-03-15 Thread frocco
Hello, I have a product record that can be assigned multiple categories. The problem I am having is the category list is not sorted by name. how can I sort the list in admin when I try and add a new product? Thanks -- You received this message because you are subscribed to the Google Groups "D

PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Hello, What is the recommended database for django? I have used MySQL, but am interested in Postgres. Thanks -- 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 d

Re: PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Thank you for your feedback. Other than the docs, is there a good ebook to learn the basics. I just purchased navicat to use. -- 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

Re: PostgresSQL or MySql with django?

2013-03-18 Thread frocco
Thanks, I purchased this book, I was looking for postgresSQL tutorial On Monday, March 18, 2013 12:38:59 PM UTC-4, Lee Hinde wrote: > > > On Mar 18, 2013, at 9:34 AM, frocco > > wrote: > > > Thank you for your feedback. > > Other than the docs, is there a goo

Re: How to get ten random records

2013-03-19 Thread frocco
I am doing this. featured = Product.objects.filter(is_featured=True, is_active=True).order_by('?')[:4] On Tuesday, March 19, 2013 12:03:28 AM UTC-4, Mike Dewhirst wrote: > > No really, I want a maximum of ten random records from the database > (Django 1.4, Postgres 9.1). > > > Looking at t

How can I get around required fields in admin?

2013-03-19 Thread frocco
Hello, I have a user profile attached to user that has several fields for billing info. When a user check's out, these fields are required. However there is one field that I want the admin to change, but it will not save unless the other required fields are filled. These required fields will

Re: How can I get around required fields in admin?

2013-03-19 Thread frocco
ok, I am using forms.ModelForm So I would have to redo this as just a form. On Tuesday, March 19, 2013 9:23:31 AM UTC-4, Javier Guerra wrote: > > On Tue, Mar 19, 2013 at 8:13 AM, frocco > > wrote: > > These required fields will not have data until a user checks out. &g

Re: PostgresSQL or MySql with django?

2013-03-20 Thread frocco
Hello, I know this is not django related, but can someone help me with the syntax to port mysql to postgresql? I tried the mysqldump command with the postgresql compatibility option, but I still cannot import the data. Thanks On Monday, March 18, 2013 11:30:35 AM UTC-4, frocco wrote

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
roups.com > Subject: Re: PostgresSQL or MySql with django? > > On Wed, Mar 20, 2013 at 1:54 PM, frocco > > wrote: > > Hello, > > > > I know this is not django related, but can someone help me with the > > syntax to port mysql to postgresql? > > I tried

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
Has anyone used this? https://github.com/lanyrd/mysql-postgresql-converter/ I cannot get this working, says cannot find the file On Thursday, March 21, 2013 8:14:04 AM UTC-4, frocco wrote: > > I have not been able to get this to work. > Says no command found. > > I must say, por

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
t; *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *frocco > *Sent:* 21 March 2013 13:06 > *To:* django...@googlegroups.com > *Subject:* Re: PostgresSQL or MySql with django? > > > > Has anyone used this? > > > > https://github.com/

Re: PostgresSQL or MySql with django?

2013-03-21 Thread frocco
ou already know. For another migration method, I'll also throw > out the option of djang-extensions dumpscript ( > http://pythonhosted.org/django-extensions/dumpscript.html), which > generates the ORM commands to create your database, and can be used for > migration. > > >

Re: PostgresSQL or MySql with django?

2013-03-23 Thread frocco
I Just downloaded a product called RazorSQL http://www.razorsql.com This product has conversion from MySql to Postgresql. Works great. On Monday, March 18, 2013 11:30:35 AM UTC-4, frocco wrote: > > Hello, > > What is the recommended database for django? > > I have used MySQL,

1.5 user abstract question

2013-03-26 Thread frocco
Hello I need a couple of extra fields in my user model Do I have to specify all fields in django user? Is django user still used? -- 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 i

Help, ckeditor not rendering in form

2013-03-30 Thread frocco
Hello, My form is not based on a model, form.value is not showing the editor. Thanks for the help. class RebateForm(forms.Form): item = forms.CharField(max_length=50, required=True) category = forms.ModelChoiceField(queryset=Category.objects.all()) value = forms.CharField(widget=CKEd

Re: Help, ckeditor not rendering in form

2013-03-30 Thread frocco
I figured it out. In my index.html file, I had to add {{ form.media }} On Saturday, March 30, 2013 12:21:52 PM UTC-4, frocco wrote: > > Hello, > > My form is not based on a model, form.value is not showing the editor. > > Thanks for the help. > > class RebateForm

How do I get these field values in my template?

2013-03-31 Thread frocco
cat = Product.objects.values_list('category__image_path','category__id') outputs; (u'category/goodyear logo.jpg', 13) I tried for c in cat: c.image_path c.id Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: How do I get these field values in my template?

2013-03-31 Thread frocco
Thank you On Sunday, March 31, 2013 10:17:35 AM UTC-4, Alexis Roda wrote: > > Al 31/03/13 15:18, En/na frocco ha escrit: > > cat = Product.objects.values_list('category__image_path','category__id') > > > > outputs; > > (u'category

how do I specify optional params in url?

2013-03-31 Thread frocco
Hello, Here is my current url. url(r'^narrow_category/(\d+)/(\w*)/(\d*)/(\d*)/(\d*)/$', 'catalog.views.narrow_category', name="narrow_category"), d+ is required w* can be optional last three d* can be optional This setting is not working. What am I doing wrong? Thanks -- You received th

Re: how do I specify optional params in url?

2013-03-31 Thread frocco
url(r'^narrow_category/(\d+)/$', 'catalog.views.narrow_category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/$', 'catalog.views.narrow_category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/(\d+)/$', 'catalog.views.narrow_category', name="narrow_

Re: how do I specify optional params in url?

2013-03-31 Thread frocco
> > I am kinda lost with url encoding being a newbie in django. I do not see my error. Can you give me an example? Thanks -- 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, sen

Re: how do I specify optional params in url?

2013-03-31 Thread frocco
Thank you for taking the time to help me. On Sunday, March 31, 2013 1:00:24 PM UTC-4, frocco wrote: > > Hello, > > Here is my current url. > >url(r'^narrow_category/(\d+)/(\w*)/(\d*)/(\d*)/(\d*)/$', > 'catalog.views.narrow_category', name="nar

Re: how do I specify optional params in url?

2013-03-31 Thread frocco
Ok, I understand and will try and provide more detail in the future. Thanks again On Sunday, March 31, 2013 5:28:54 PM UTC-4, Alexis Roda wrote: > > Al 31/03/13 22:43, En/na frocco ha escrit: > > Thank you for taking the time to help me. > > You're welcome. > &

Re: Webfaction vs DigitalOcean

2013-04-03 Thread frocco
Very happy with webfaction and their support. -- 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, s

django-campaign - how to filter by group?

2013-04-07 Thread frocco
Hello, Anyone using django-campaign that can tell me when adding subscriber list, how I can limit users that are active and in a certain group, like "A" Thank you -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

How do I have company display in admin drop down box?

2013-04-07 Thread frocco
I have a model that references User and on the admin page, it shows the user name. I have the User tied to a UserProfile model that has a field called company. I want the drop down on my Pricing Model to show company, not user. user = models.ForeignKey(User) -- You received this message becaus

Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
me_plural = 'Special Product Pricing' unique_together = ("user", "category") def __unicode__(self): return self.user.first_name + " " + self.user.last_name On Sunday, April 7, 2013 8:01:52 PM UTC-4, frocco wrote: > > I have a model

Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
Thanks Drew, I am trying your second suggestion. But it is complaining not found for UserProfile On Sunday, April 7, 2013 8:41:46 PM UTC-4, Drew Ferguson wrote: > > On Sun, 7 Apr 2013 17:01:52 -0700 (PDT) > frocco > wrote: > > > I have a model that references User and

Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
Thank you. I tried your first suggestion and it works great. Thanks so much for your help. On Sunday, April 7, 2013 9:22:08 PM UTC-4, Drew Ferguson wrote: > > On Sun, 7 Apr 2013 18:15:32 -0700 (PDT) > frocco > wrote: > > > Thanks Drew, > > > > I

urgent - how do I tell django to relax required password?

2013-04-08 Thread frocco
on registration, login django is asking for uppercase and special chars for password. how do I tell django to allow basic passwords? My site is live and I am having issues Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: urgent - how do I tell django to relax required password?

2013-04-08 Thread frocco
Thanks Resolved On Monday, April 8, 2013 11:18:32 AM UTC-4, larry@gmail.com wrote: > > On Mon, Apr 8, 2013 at 9:02 AM, frocco > > wrote: > > on registration, login django is asking for uppercase and special chars > for > > password. > > how do I tel

How do I display image in admin list?

2013-04-09 Thread frocco
Hello, I have a standard image field in my model, and want to see the images on the admin list page. how do I modify admin.py to do this? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivin

Re: How do I display image in admin list?

2013-04-09 Thread frocco
Also, some images could be blank/None On Tuesday, April 9, 2013 7:33:43 AM UTC-4, frocco wrote: > > Hello, > > I have a standard image field in my model, and want to see the images on > the admin list page. > > how do I modify admin.py to do this? > > Thanks > &g

Can someone help me with this error. No ReverseMatch

2013-04-09 Thread frocco
NoReverseMatch: Reverse for 'narrow_category' with arguments '(9L, u'pro contact', u'', u'', u'')' and keyword arguments '{}' not found. url(r'^narrow_category/(\d+)/(\w*)/(\d*)/(\d*)/(\d*)/$', 'catalog.views.narrow_category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/$', 'ca

Can admin list being filtered be remembered

2013-04-09 Thread frocco
If I set a filter in the admin list, and edit and save a record, the filter is not remembered. Cn this be changed? -- 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

Re: Can admin list being filtered be remembered

2013-04-09 Thread frocco
I found this snippet. http://djangosnippets.org/snippets/2849/ On Tuesday, April 9, 2013 5:41:25 PM UTC-4, frocco wrote: > > If I set a filter in the admin list, and edit and save a record, the > filter is not remembered. > Cn this be changed? > -- You received this message

Re: django-campaign - how to filter by group?

2013-04-11 Thread frocco
Thank you... On Thursday, April 11, 2013 8:50:06 AM UTC-4, arne^ wrote: > > Hi frocco, > > this filter condition works for me: > > { > "groups__name": "A", > "is_active": true > } > > "A" is the name of the Group. This

need help with csv export

2013-04-12 Thread frocco
Hello, I have a php export file that I need to duplicate in django. I am using django csv import Here is the PHP format I want. 3128559,"GOODYEAR","4024064","","","","","","","","","","","16","","","","","" Here is the django output 3128559,'GENERAL','15480',,,'4' I want it to l

need suggestion for wysiwyg with youtube embed support

2013-04-13 Thread frocco
I have ckeditor installed, but do not see any youtube support. Are there any other django editors? Thanks -- 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

Re: need suggestion for wysiwyg with youtube embed support

2013-04-13 Thread frocco
Nevermind, the css default was hiding the iFrame button On Saturday, April 13, 2013 8:06:13 AM UTC-4, frocco wrote: > > I have ckeditor installed, but do not see any youtube support. > Are there any other django editors? > > Thanks > -- You received this message because you

Re: How do I display image in admin list?

2013-04-15 Thread frocco
Thank you -- 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 django-users@googlegro

CommandError: Unable to serialize database: get_db_prep_value() takes at least 3 arguments (2 given)

2013-04-16 Thread frocco
Hello, I am using django 1.5.1 and trying to dumpdata. How can I fix this? Thanks -- 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...@goo

Re: CommandError: Unable to serialize database: get_db_prep_value() takes at least 3 arguments (2 given)

2013-04-16 Thread frocco
Sorry, here it is. python manage.py dumpdata > django_data.json On Tuesday, April 16, 2013 6:04:18 PM UTC-4, frocco wrote: > > Hello, > > I am using django 1.5.1 and trying to dumpdata. > > How can I fix this? > > Thanks > -- You received this message because yo

Re: CommandError: Unable to serialize database: get_db_prep_value() takes at least 3 arguments (2 given)

2013-04-16 Thread frocco
Thanks Larry, I read this, but not sure how to fix it. On Tuesday, April 16, 2013 6:04:18 PM UTC-4, frocco wrote: > > Hello, > > I am using django 1.5.1 and trying to dumpdata. > > How can I fix this? > > Thanks > -- You received this message because you are subs

Re: CommandError: Unable to serialize database: get_db_prep_value() takes at least 3 arguments (2 given)

2013-04-16 Thread frocco
Yes, I just found out django-campaign is causing the error. There are a few forks of this, not sure what I should do. On Tuesday, April 16, 2013 6:04:18 PM UTC-4, frocco wrote: > > Hello, > > I am using django 1.5.1 and trying to dumpdata. > > How can I fix this? > > Th

Re: CommandError: Unable to serialize database: get_db_prep_value() takes at least 3 arguments (2 given)

2013-04-16 Thread frocco
I have been looking at the django-newsletter, but can see no way to send a newsletter by user group On Tuesday, April 16, 2013 6:04:18 PM UTC-4, frocco wrote: > > Hello, > > I am using django 1.5.1 and trying to dumpdata. > > How can I fix this? > > Thanks > --

django-newsletter, cron job not working

2013-04-17 Thread frocco
Hello, Can someone give me an example of running a cronjob hourly? I am on webfaction and cannot get this working. I tried @hourly /usr/local/bin/python2.7 ~/webapps/ntw/myproject/manage.py runjob submit I get no email If I SSH in and sunit manually, it works fine -- You received this messa

Re: django-newsletter, cron job not working

2013-04-17 Thread frocco
o read what the message is. > > your_command &> /tmp/broken_cron.log > > Then rig your cron job to run ASAP and read the log. > > > On Wed, Apr 17, 2013 at 2:38 PM, frocco >wrote: > >> Hello, >> >> Can someone give me an example of running a cronj

Need good image on the fly resizing

2013-04-21 Thread frocco
Can someone point me to a good package? Thanks -- 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,

Re: IDE to practice django template language

2013-04-21 Thread frocco
PyCharm is what I use and recommend. -- 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

Re: Need good image on the fly resizing

2013-04-22 Thread frocco
/2011/09/install-pil-with-jpeg-support-on-ubuntu-oneiric-64bits/> > .). > > On Sunday, April 21, 2013 6:35:02 PM UTC-6, frocco wrote: >> >> Can someone point me to a good package? >> >> Thanks >> > -- You received this message because you are subscribed

Re: Need good image on the fly resizing

2013-04-22 Thread frocco
I also just realized that I am not using memcached I will try this tonight and see if it helps. On Monday, April 22, 2013 2:33:22 PM UTC-4, frocco wrote: > > I tried sorl-thumbnail and user is complaining that some images are not > resized to same size as others. > > On Monday,

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
Memcached did not help with the resize problem of one image. I am using sorl-thumbnail. The other images look fine and uniform. -- 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, se

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
- Are you cropping the image at all or just resizing? If you crop, > I don't understand how the images wouldn't be all the same size. When I've > used sorl, if the image is bigger than the dimensions to which I'm > cropping/resizing, it's always spot-on. > &g

Re: Need good image on the fly resizing

2013-04-23 Thread frocco
What about the cache directory? Should I clear this also? Thanks for the help. On Tuesday, April 23, 2013 12:35:48 PM UTC-4, Richard Jelte wrote: > > > I am not cropping, just re-sizing. > > > Like Kelly said, you'll have to make sure that all of the images are > cropped

best way to track flatpages clicked by users?

2013-05-03 Thread frocco
Hello, I am looking for a way to track links clicked on my website, so I can see what is being used. Most pages are flat pages, so our my own design. Thanks Frank -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

OperationalError: (1040, 'Too many connections')

2013-05-17 Thread frocco
Hello, How can I resolve this in django 1.5? webfaction allows max 90 connections. Thanks -- 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+unsubsc

Why Postgres over Mysql?

2013-05-17 Thread frocco
My site is currently using Mysql, would it benefit me to switch to Postgres? Thanks -- 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...@goo

Re: Why Postgres over Mysql?

2013-05-17 Thread frocco
Thanks Phillip On Friday, May 17, 2013 2:38:49 PM UTC-4, frocco wrote: > > My site is currently using Mysql, would it benefit me to switch to > Postgres? > > Thanks > > -- You received this message because you are subscribed to the Google Groups "Django users"

Re: OperationalError: (1040, 'Too many connections')

2013-05-18 Thread frocco
t; use postgreSQL > > пятница, 17 мая 2013 г., 21:24:10 UTC+3 пользователь frocco написал: >> >> Hello, >> >> How can I resolve this in django 1.5? >> >> webfaction allows max 90 connections. >> >> Thanks >> > -- You received this m

Help converting from mysql to postgres

2013-05-18 Thread frocco
Hello Here are my steps. python manage.py dumpdata --database=legacy > data.json python manage.py loaddata data.json --database=default IntegrityError: Problem installing fixture 'data.json': Could not load accounts.UserProfile(pk=17): duplicate key value violates unique constraint "accounts

Re: Help converting from mysql to postgres

2013-05-18 Thread frocco
et to 1 if I restart sequence, last value is set to 8 On Saturday, May 18, 2013 1:23:04 PM UTC-4, frocco wrote: > > Hello > > Here are my steps. > > python manage.py dumpdata --database=legacy > data.json > > python manage.py loaddata data.json --database=default &

Re: OperationalError: (1040, 'Too many connections')

2013-05-19 Thread frocco
> http://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL > > суббота, 18 мая 2013 г., 20:00:15 UTC+3 пользователь frocco написал: >> >> I have been looking for an easy way to convert, but nothing works for me. >> I tried dumpdata, loaddata, but get

Re: Help converting from mysql to postgres

2013-05-19 Thread frocco
Thanks, I finished this, by using dump data on one app at a time. I was trying to do the whole project at once. I did run into sequence errors. I followed this. http://tryolabs.com/Blog/2012/02/10/django-migrating-mysql-postgresql/ On Saturday, May 18, 2013 1:23:04 PM UTC-4, frocco wrote

How do I seo in my website?

2013-05-20 Thread frocco
Hello, I notice that my site does not come up when searching in google. What do I need to do in django to resolve this? Thanks -- 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, se

Re: How do I seo in my website?

2013-05-20 Thread frocco
Thank you On Monday, May 20, 2013 10:35:06 AM UTC-4, frocco wrote: > > Hello, > > I notice that my site does not come up when searching in google. > What do I need to do in django to resolve this? > > Thanks > -- You received this message because you are subscribed to th

site critique

2013-05-22 Thread frocco
Hi Every one, I have my PHP site up and running that I converted to django. Would you have a look at this production site and let me know your opinions? Current users are very fussy and resist change. http://ntwarehouse.net One problem I ha

Re: site critique

2013-05-22 Thread frocco
gt; >> Site is asking for a username and password, so I can't look at it. >> >> Regards, >> Nigel Legg >> 07722 652866 >> http://twitter.com/nigellegg >> http://uk.linkedin.com/in/nigellegg >> >> >> >> On 22 May 2013 14:24, fr

Help with robots.txt

2013-05-24 Thread frocco
Hello, Can someone give me an example of configuring robots.txt? I want to block the admin site. and anything else? -- 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 emai

Re: Help with robots.txt

2013-05-24 Thread frocco
Thank you On Friday, May 24, 2013 9:16:35 AM UTC-4, Mike Dewhirst wrote: > > On 24/05/2013 10:04pm, frocco wrote: > > Hello, > > > > Can someone give me an example of configuring robots.txt? > > > > I want to block the admin site. > > > > and

How do I stopt this bot 66.249.73.7

2013-05-25 Thread frocco
Should I stop this bot at 66.249.73.7 It is causing my search log to fill up quickly. -- 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...@g

Deployment problem with google bots

2013-06-22 Thread frocco
Hello I get error messages from time to time because a google bot try's to view a product that no longer exists. How do I prevent this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails f

<    1   2   3   >