Re: new to django

2012-08-21 Thread Anoop Thomas Mathew
What is the error you are getting?

atm
___
Life is short, Live it hard.




On 21 August 2012 12:57, maha  wrote:

> Hi,I am new to django. Right now I am going through the tutorial. I am
> stuck on the creating poll application.
>
> *Here are the settings.py ,*
>
> INSTALLED_APPS = (
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> # Uncomment the next line to enable the admin:
> 'django.contrib.admin',
> # Uncomment the next line to enable admin documentation:
> # 'django.contrib.admindocs',
>'poll',
> )
>
> *here are the models.py*
>
> from django.db import models
>
> class Poll(models.Model):
> question = models.CharField(max_length=200)
> pub_date = models.DateTimeField('date published')
>
> class Choice(models.Model):
> poll = models.ForeignKey(Poll)
> choice_text = models.CharField(max_length=200)
> votes = models.IntegerField()
>
> *here are the urls.py,*
>
> from django.conf.urls import patterns, include, url
>
> # Uncomment the next two lines to enable the admin:
> from django.contrib import admin
> admin.autodiscover()
>
> urlpatterns = patterns('',
> # Examples:
> # url(r'^$', 'mysitee.views.home', name='home'),
> # url(r'^mysitee/', include('mysitee.foo.urls')),
>
> # Uncomment the admin/doc line below to enable admin documentation:
> url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
>
> # Uncomment the next line to enable the admin:
> # url(r'^admin/', include(admin.site.urls)),
> )
>  i got struck, after i was running this command *python manage.py shell,* 
> (i.e)
> while exploring the database in python shell.
>
> do u need to show any other code, which i used.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/V262IvOrL9kJ.
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Anoop Thomas Mathew
Chronic Asthma. He was hospitalized yesterday, and passed away today.




On 3 August 2012 20:45, Marcin Tustin <marcin.tus...@gmail.com> wrote:

> What happened to him? He was posting on this list in the last week?
>
> On Fri, Aug 3, 2012 at 11:12 AM, Anoop Thomas Mathew <atm...@gmail.com>wrote:
>
>> With my heartfelt condolence, I'd like to inform you all the unfortunate
>> demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
>> strong advocate of Python, Django and Free Software in India.
>> He had served as the President of IPSS(Indian Python Software Society),
>> which initiated the PyCon India, done a lot of workshops on Python and was
>> an active member in the Django user group.
>>
>>
>> Anoop Thomas Mathew
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Marcin Tustin
> Tel: 07773 787 105
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Anoop Thomas Mathew
With my heartfelt condolence, I'd like to inform you all the unfortunate
demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
strong advocate of Python, Django and Free Software in India.
He had served as the President of IPSS(Indian Python Software Society),
which initiated the PyCon India, done a lot of workshops on Python and was
an active member in the Django user group.

Anoop Thomas Mathew

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Template Loader Error: (It's been really frustrating till now..!)

2012-07-18 Thread Anoop Thomas Mathew
On 19 July 2012 04:46, Mark Anderko  wrote:

> I am having similar problems. did you manage to get this fixed?
>
>
> On Wednesday, January 25, 2012 6:51:34 AM UTC-8, leaks wrote:
>>
>> Hey all...  i get this error while i have a template directory and my
>> about.html file It doesn't display the home.html either...
>>
>> Environment:
>>
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/about/
>>
>> Django Version: 1.3.1
>> Python Version: 2.7.2
>> Installed Applications:
>> ['django.contrib.auth',
>>  'django.contrib.contenttypes'**,
>>  'django.contrib.sessions',
>>  'django.contrib.sites',
>>  'django.contrib.messages',
>>  'django.contrib.staticfiles']
>> Installed Middleware:
>> ('django.middleware.common.**CommonMiddleware',
>>  'django.contrib.sessions.**middleware.SessionMiddleware',
>>  'django.middleware.csrf.**CsrfViewMiddleware',
>>  'django.contrib.auth.**middleware.**AuthenticationMiddleware',
>>  'django.contrib.messages.**middleware.MessageMiddleware')
>>
>> Template Loader Error:
>> Django tried loading these templates, in this order:
>> Using loader django.template.loaders.**filesystem.Loader:
>> /home/tony/Documents/blog/**blog/templates/about.html (File does not
>> exist)
>>
>

make sure that /home/tony/Documents/blog/blog/templates/about.html exist.
Else, add templates directory to the TEMPLATE_DIRS.


Using loader django.template.loaders.app_**directories.Loader:
>>
>>
>>
>> Traceback:
>> File "/usr/local/lib/python2.7/**dist-packages/django/core/**handlers/
>> base.py" in get_response
>>   111. response = callback(request,
>> *callback_args, **callback_kwargs)
>> File "/home/tony/Documents/blog/../**blog/views.py" in about
>>   9.  return render_to_response('about.**html',)
>> File "/usr/local/lib/python2.7/**dist-packages/django/**shortcuts/
>> __init__.py" in render_to_response
>>   20. return HttpResponse(loader.render_to_**string(*args,
>> **kwargs), **httpresponse_kwargs)
>> File "/usr/local/lib/python2.7/**dist-packages/django/template/
>> loader.py" in render_to_string
>>   181. t = get_template(template_name)
>> File "/usr/local/lib/python2.7/**dist-packages/django/template/
>> loader.py" in get_template
>>   157. template, origin = find_template(template_name)
>> File "/usr/local/lib/python2.7/**dist-packages/django/template/
>> loader.py" in find_template
>>   138. raise TemplateDoesNotExist(name)
>>
>> Exception Type: TemplateDoesNotExist at /about/
>> Exception Value: about.html
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/b7u_nPwieJMJ.
>
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Graphs in django

2012-06-11 Thread Anoop Thomas Mathew
Hi,

What you are generating right now, is in a GTK window (desktop). This is
not directly show-able in a browser AFIK. What you can do is to
1. Generate a jpeg/png from that, and serve it as a static file to the
browser, just like an image
2. You can send the data across to the browser as json or any other
serialized format, and plot it using a javascript plotting library like
flot or flotr2 <http://humblesoftware.com/flotr2/>. This option would make
it more maintainable, look nicer and interactive.
Hope I am clear to you.

Thanks and Regards,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.




On 12 June 2012 11:15, Alec Taylor <alec.tayl...@gmail.com> wrote:

> Put it in the template or whatnot
>
> Might be an easier job for a javascript graph library, or even
> processing-js
>
> On Tue, Jun 12, 2012 at 3:40 PM, Satvir Toor <toor.satvi...@gmail.com>
> wrote:
> > here is code to display sin curve
> >
> > from pylab import *
> >
> > t = arange(0.0, 2.0, 0.01)
> > s = sin(2*pi*t)
> > plot(t, s, linewidth=1.0)
> >
> > xlabel('time (s)')
> > ylabel('voltage (mV)')
> > title('About as simple as it gets, folks')
> > grid(True)
> > show()
> >
> >
> > its working well but the output is being display in different
> > window..But i need to display this curve in browser window. Please
> > tell me what changes i have to make in this code
> >
> > --
> > Satvir Kaur
> >
> > --
> > 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
> >
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: twitter timeline

2012-03-22 Thread Anoop Thomas Mathew
Hi,

https://twitter.com/status/user_timeline/.json

This would get you latest public tweets as json. This was good enough for
my application. See if that helps.
If you need twitter authentication and more features, you can use tweepy.

Thanks,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.




On 22 March 2012 19:43, Amit <pathakami...@gmail.com> wrote:

> Hi Randa,
>
> I have used tweepy. Its easy to use.
> doc link: http://packages.python.org/tweepy/html/
>
> On Mar 21, 7:00 pm, Randa Hisham <randahes...@gmail.com> wrote:
> > hey
> > iam going to make an app that read the timeline of a user from twitter
> what
> > django package do you recommend?
> >
> > --
> > Randa Hesham
> > Software Developer
> >
> > Twitter:@ro0oraa <http://twitter.com/#%21/ro0oraa>
> > FaceBook:Randa Hisham <http://www.facebook.com/Ro0oraaa>
> >
> > ٍ
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Error on Tutorial Part 3 - https://docs.djangoproject.com/en/1.3/intro/tutorial03/

2012-02-29 Thread Anoop Thomas Mathew
You have to give template directories, not template names in the
settings.py.
Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 1 March 2012 01:16, Django_for_SB  wrote:

> Hello All,
>
> I'm going through the tutorial on djangoproject.com, and can't seem to
> hurdle over this section that reads "Write views that actually do
> something"
>
> Here's the code I have so far, which is directly copied from the
> tutorial or prescribed by the tutorial:
>
> views.py:
> "from django.template import Context, loader
> from polls.models import Poll
> from django.http import HttpResponse
>
> def index(request):
>latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5]
>t = loader.get_template('polls/index.html')
>c = Context({
>'latest_poll_list': latest_poll_list,
>})
>return HttpResponse(t.render(c))"
>
>
>
> settings.py:
> "...
> TEMPLATE_DIRS = (
># Put strings here, like "/home/html/django_templates" or "C:/www/
> django/templates".
># Always use forward slashes, even on Windows.
># Don't forget to use absolute paths, not relative paths.
>'C:/Python27/my_Djando_projects/mysite/My_Templates/admin/
> base_site.html'
>'C:/Python27/my_Djando_projects/mysite/My_Templates/admin/
> index.html'
>'C:/Python27/my_Djando_projects/mysite/My_Templates/polls/
> index.html'
> )
> ..."
>
>
> index.html:
> "{% if latest_poll_list %}
>
>{% for poll in latest_poll_list %}
>{{ poll.question }} li>
>{% endfor %}
>
> {% else %}
>No polls are available.
> {% endif %}
> "
>
>
>
>
> I keep getting the same error, which reads:
>
>
> TemplateDoesNotExist at /polls/
>
> polls/index.html
>
> Request Method: GET
> Request URL:http://localhost:8000/polls/
> Django Version: 1.3.1
> Exception Type: TemplateDoesNotExist
> Exception Value:
>
> polls/index.html
>
> Exception Location: C:\Python27\lib\site-packages\django\template
> \loader.py in find_template, line 138
> Python Executable:  C:\Python27\python.exe
> Python Version: 2.7.2
> Python Path:
>
> ['C:\\Python27\\my_Djando_projects\\mysite',
>  'C:\\Windows\\system32\\python27.zip',
>  'C:\\Python27\\DLLs',
>  'C:\\Python27\\lib',
>  'C:\\Python27\\lib\\plat-win',
>  'C:\\Python27\\lib\\lib-tk',
>  'C:\\Python27',
>  'C:\\Python27\\lib\\site-packages']
>
> Server time:Wed, 29 Feb 2012 11:32:54 -0800
> Template-loader postmortem
>
> Django tried loading these templates, in this order:
>
> Using loader django.template.loaders.filesystem.Loader:
> c:\python27\my_djando_projects\mysite\my_templates\admin
> \base_site.html
> c:\python27\my_djando_projects\mysite\my_templates\admin\index.html
> c:\python27\my_djando_projects\mysite\my_templates\polls\index.html
> \polls\index.html (File does not exist)
> Using loader django.template.loaders.app_directories.Loader:
> c:\python27\lib\site-packages\django\contrib\admin\templates\polls
> \index.html (File does not exist)
>
>
>
>
> What on earth am I doing wrong here? I've so many different variations
> of my settings.py, views.py, and index.html. Any help would be much
> appreciated.
>
>
> Thanks,
>
> SB
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Audio Captcha for django

2012-02-27 Thread Anoop Thomas Mathew
Why can't you use this: http://www.google.com/recaptcha

Thanks,
Anoop

atm
___
Life is short, Live it hard.




On 27 February 2012 19:59, Karthik Abinav  wrote:

> Hi,
>
>   Does django have an implementation of audio captch for registration? If
> so please link me to the docs.
>
> Thanks,
> Karthik Abinav
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: complete for dropdown box in admin

2012-02-13 Thread Anoop Thomas Mathew
Hi,

http://harvesthq.github.com/chosen/
Hope this helps.

Thanks,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.




On 13 February 2012 12:17, kenneth gonsalves <law...@thenilgiris.com> wrote:

> hi,
>
> I need a widget in admin to autoselect (I do not know what it is called)
> a foreign key - that is if I type 'f' it goes to the first occurrence of
> 'f' and so on. I hope I am clear.
> --
> regards
> Kenneth Gonsalves
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django Friends

2012-02-05 Thread Anoop Thomas Mathew
Hi,
Pinax is a collection of reusable django apps, and you an use individual
projects as django apps.
https://github.com/pinax/django-friends
Another issue I found is, it is not maintained well and make sure that it
suits your purpose and works well with latest version of django. Then you
can directly use it as an app adding it to your settings.py

Thanks,
Anoop Thomas Mathew


atm
___
Life is short, Live it hard.




On 5 February 2012 15:18, coded kid <duffleboi...@gmail.com> wrote:

> Thanks bro. I'm not using pinax, so how can I go about it?

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django Friends

2012-02-05 Thread Anoop Thomas Mathew
Hi,

Check pinax project. There are some apps in it,
http://pinaxproject.com/ecosystem/
,  especially, django-friends app, which should be helpful for you.
Thanks,
Anoop Thomas Mathew


atm
___
Life is short, Live it hard.




On 5 February 2012 14:12, coded kid <duffleboi...@gmail.com> wrote:

> Hey guys, please do you know of any django package that can be used by
> users to add friends in django site? Thanks.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: south create_table doesn't work

2012-02-03 Thread Anoop Thomas Mathew
Hi,

May be you are asking at the wrong place. Please check it in south mailing
list history, you should be able to find an answer.
http://groups.google.com/group/south-users/search?group=south-users=create_table_g=Search+this+group

Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 3 February 2012 13:19, Alessandro Candini  wrote:

> Nobody who has experience with south?
>
> On Feb 2, 5:14 pm, Alessandro Candini  wrote:
> > I'm trying to use django-south-0.7.3 API's to create a table, following
> > this:http://south.aeracode.org/docs/databaseapi.html#accessing-the-api
> >
> > This is my code:
> > from south.db import dbs
> > dbs['lc'].create_table('test', [
> >  ('id', models.AutoField(primary_key=True)),
> >  ('name', models.CharField(max_length=255)),
> >  ])
> >
> > The problem is that I do not get any error, but in the lc database, no
> > table appears.
> > Where is the issue?
> >
> > Thanks in advance
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Determine gender from first name

2012-01-25 Thread Anoop Thomas Mathew
Hi,

If you are looking for a fuzzy solution, you can find it here
https://github.com/sholiday/genderPredictor
This should suit your purpose.
It uses nltk package for predicting, but as Kenneth said, it won't be 100%
perfect. You can expect 80-90% success.

Hope this helps.
Thanks,
Anoop

atm
___
Life is short, Live it hard.




On 25 January 2012 15:20, kenneth gonsalves  wrote:

> On Wed, 2012-01-25 at 09:49 +0100, Demetrio Girardi wrote:
> > How can I go about this? Is there a publicly available database of
> > first names divided by language and gender? A public web-service that
> > guesstimates the gender?
>
> not possible in my opinion. There may be some languages where a name
> *has* to have gender specific suffix. All the languages I know do not.
> Maria, Rama, Krishna, for example are not gender specific.
> --
> regards
> Kenneth Gonsalves
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Facebook like activity feed commenting using django comments framework

2012-01-07 Thread Anoop Thomas Mathew
Hi,
Try this https://github.com/agiliq/django-pubsub/
You can get a live demo here http://chat.agiliq.com/pubsub/.
See if this suits your purpose.
Thanks,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.




On 7 January 2012 19:34, Swaroop Shankar V <swaroo...@gmail.com> wrote:

> hello All,
> Am trying to build somewhat like an activity stream for my web
> application. Since its not exactly similar to the normal activity streams
> found in facebook I am not able to use any of the existing django activity
> stream projects like django-activity-stream in my application. So I am
> building it from scratch. I would like to make use of the django commenting
> system for commenting on each post that show's up on the activity steam.
> Since i would like to use ajax to post comments, I will require an API,
> using which I can save the comment posted to the commenting system
> framework table. I looked through the documentation but could not figure
> out how i can do it. If someone have any experience in doing the same
> please let me know the procedures.
>
> Thanks and Regards,
> Swaroop Shankar V
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: new tables missing from admin page

2011-12-20 Thread Anoop Thomas Mathew
Hi,
You should register the new models in the admin.py.
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-objects
Above link should help.

Thanks,
Anoop Thomas Mathew
atm
___
Life is short, Live it hard.




On 20 December 2011 23:32, Bill Beal <b.b...@eximflow.com> wrote:

> Hi all,
>
> I added some tables to models.py but they didn't show up
> when I logged in as admin.  I knew already from harsh
> experience that syncdb will not pick up _changes_ to an
> existing table, so I deleted the old database before doing
> syncdb then runserver.  When I didn't find the new tables
> listed on the admin page, I shut down the server, blew
> away all .pyc files in the project and app directories, then
> ran runserver again.  Tables were still missing from admin.
> sqlall showed the new tables.  dbshell with .tables
> command showed the new tables.  I'm using Python 2.6.6,
> Django 1.3, SQLite 3.7.2.  What's the missing link? How
> can there be any file left that only has the old tables?
>
> Bill Beal
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Which IDE should I use for Django?

2011-12-19 Thread Anoop Thomas Mathew
Hi,

PyCharm is awesome!!! But is paid ($70) and  not OpenSource.
Best among the free is Aptana Studio.

Thanks,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.




On 19 December 2011 16:41, Thomas Weholt <thomas.weh...@gmail.com> wrote:

> Pycharm +1
>
>
>
> On Mon, Dec 19, 2011 at 11:35 AM, Zhukov Pavel <gel...@gmail.com> wrote:
> > PyCharm?
> >
> > On Mon, Dec 19, 2011 at 2:34 PM, Alec Taylor <alec.tayl...@gmail.com>
> wrote:
> >> I'm looking for a Django IDE which incorporates the following features:
> >> - Syntax-highlighting
> >> - Projects (all code file of the project shown separated by directory
> >> in a sidebar)
> >> - Tabs (with close buttons on tab)
> >> - Code-completion (with good introspection)
> >> - Text-zoom support
> >> - Start/stop Django server
> >> - Run+restart Django server shell (manage.py shell) in project (i.e.
> below code)
> >>
> >> I program on Windows and Linux, so it would be great if the IDE is
> >> supported on both platforms.
> >>
> >> Previously I was using Editra, but I requested an automatic import
> >> into embedded interpreter feature in April, which they still haven't
> >> integrated. So I am looking at alternatives :)
> >>
> >> Thanks for all suggestions,
> >>
> >> Alec Taylor
> >>
> >> --
> >> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
> >>
> >
> > --
> > 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
> >
>
>
>
> --
> Mvh/Best regards,
> Thomas Weholt
> http://www.weholt.org
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: [ date and null value ]

2011-11-26 Thread Anoop Thomas Mathew
Hi,
Try this
*fechaProyecto = models.DateField(verbose_name=**'Ingresó a la subdirección
de Proyecto', blank=True, null=True)*
Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 27 November 2011 05:22, Lord Goosfancito  wrote:

>  Hello.
>
> I have problem when i declared field with "blank" the admin django show
> this error:
>
>
> (1048, "Column 'fechaProyecto' cannot be null")
>
> in my models.py:
>
> fechaProyecto = models.DateField(verbose_name='Ingresó a la
> subdirección de Proyecto')
> fechaProyecto.blank = True
>
> What is the problem?
>
> Thank's
>
> Gustavo.
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: IOError at / [Errno 13] Permission denied

2011-11-22 Thread Anoop Thomas Mathew
Hi,
What about the permissions of cache folder?
Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 22 November 2011 16:05, marjenni  wrote:

> Hi all,
>   I have been writing a django app, and testing locally using
> runserver.
>
> Now I am in the process of moving this app to an online server, but am
> having some problems.
>
> On initialisation the app initialises itself with a .csv file I have
> created, but with the online version I keep getting:
>
> IOError at /
>
> [Errno 13] Permission denied: '/cache/parks_extended_info.csv'
>
>
> I have been playing with file permissions and owners, but just can't
> get it to work.
>
> This is my first django app, so the solution is probably simple!
>
> thanks
>
> Mark
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django tutorial versions

2011-11-21 Thread Anoop Thomas Mathew
Hi,
The tutorial you where following was dev version and the version you have
installed is 1.3.1
https://docs.djangoproject.com/en/1.3/intro/tutorial01/
This would be helpful I guess.

Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 21 November 2011 23:28, Jesse Aldridge  wrote:

> Looking at  https://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> When I run `django-admin.py startproject mysite`  I get a flat layout
> rather than the nested layout the tutorial says I should see.
>
> There's a note that says,
>
> 'The default project layout recently changed. If you're seeing a
> "flat" layout (with no inner mysite/ directory), you're probably using
> a version of Django that doesn't match this tutorial version. You'll
> want to either switch to the older tutorial or the newer Django
> version.'
>
> but it doesn't say which version of django is used in the tutorial I'm
> reading or where to find tutorials for other versions of django.
> These facts would be helpful.  I'm using django 1.3.1.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: syncdb not finding and syncing my MySQL database

2011-11-21 Thread Anoop Thomas Mathew
Hi,

"I am getting an error"
This is not a proper way to ask question. Please post
your trace-back somewhere and send the link to the group or at least
specify what error is it, so that, we could help you.
Thanks,
Anoop


atm
___
Life is short, Live it hard.




On 21 November 2011 23:31, BillB1951  wrote:

> Problem when I try to run "python manage.py" I get an error.  It
> appears that my MySQL database cannot be found, but syncdb know it's
> name, which I assume it got from my settings.py file.
>
> Any suggests will be very much appreciated.   Thanks
>
> Bill
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Suse Linux installation

2011-10-14 Thread Anoop Thomas Mathew
Check the Python Version.
Thanks,
Anoop
atm
___
Life is short, Live it hard.




On 14 October 2011 22:24, Andrew Johnson wrote:

> I download and untar Django-1.3.1 and try to install and get:
>
> django/Django-1.3.1> sudo python setup.py install
> Traceback (most recent call last):
>  File "setup.py", line 1, in ?
>from distutils.core import setup
> ImportError: No module named distutils.core
>
> I don't see a file named distutils.core anywhere I look.  Did
> something go wrong with my download?
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Media wiki

2011-09-28 Thread Anoop Thomas Mathew
Hi,

If you want a basic wiki, you can try http://uswaretech.com/demo/djikiki/
Its not maintained well now, still, this might be enough to start with.

Thanks,
Anoop

atm
___
Life is short, Live it hard.




On 28 September 2011 14:20, Kirupashankar Sampath wrote:

> I am relatively new to django..I am trying to think of ways to
> implement mediawiki concepts in a django wikipage...any ideas of
> how to approach..
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django tutorials

2011-09-22 Thread Anoop Thomas Mathew
You can try peepcode.com and thinkvitamin.com . They have good quality video
tutorials. Not just django, many handy tools needed while developing for
web. One thing, they are paid.

Thanks,
Anoop Thomas Mathew
On 22 Sep 2011 16:49, "ANKUR AGGARWAL" <coolankur2...@gmail.com> wrote:
> Hey
> I am currently searching for django video tutorials. I am unable to find
> them on web. Was expecting them at lynda.com but they doesn't provide any
> type of django tuts. So please provide me the links :)
> Thanks in advance :)
>
> Regards
> Ankur Aggarwal
>
> --
> 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 options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Most stable Linux distribution for Django - Python development

2011-08-01 Thread Anoop Thomas Mathew
Hi,

Thank you all for your suggestions, Especially, Cal and Sam.
I'd go with Debian Squeeze. That seems to be the best choice for now.

To be clear about the question, I'm using linux operating systems for the
past 7 years. The errors are not specific nor recurring, nor even device
specific.  Just gets stuck in between. I've never checked the log, as you
said, that might have helped. Same OS on a server with a specific app
running, might run stable for years. The  time gap would be 2-3 months
between screen freezes. And nothing in specific would be there to note. I
just want an OS which is a Juggernaut, that's it.

Compare this to a rolling release or distro with releases every 6-12
months where kernel is changing and OS has bleeding edge versions and
you will have a larger gaumet of issues. Concequently you will have to
know more and be better at problem solving. Will you have a rollback
plan when the dist-upgrade finishes and something breaks in a new
exciting way?



I'd seriously consider a rollback plan if it breaks.
So Thanks again,

Anoop

atm
___
Life is short, Live it hard.




On 1 August 2011 18:55, Sam Walters <mr.sam...@gmail.com> wrote:

> If a modern linux OS is crashing then it will likely /var/log whats
> going wrong. The phrasing of this issue seems to indicate lack of
> experience or familiarity with the linux os or unix model of os.
> Thats no problem if you are keen to learn the principles of the OS you
> will get better at using the OS and identifying issues.
>
> Now to answer your question specifically:
> debian stable branch is a good idea. I assume you will stick to
> something and keep it so go for a distro with long term support/longer
> release cycle.
>
> http://en.wikipedia.org/wiki/Debian#Stable_ports
>
> Good documentation, forums, community support.
>
> I would avoid rapid release cycle stuff unless you know what you're
> doing. Eg: i use apto-sid which is an unstable branch of debian for
> some servers but i know what im getting myself into.
>
> I say debian because the package management, runs nearly all the
> dependencies that django and a lot of its addons require. Also once
> you have built a server stack... eg: nginx+fcgi+django+memcached+mysql
> or any web server stack of your choice on a stable distro you will
> reduce the pool of possible issues with any of these aformentioned
> components to a minimum and the problems can be googled with ease. And
> keep doing this for ~5 years until they stop the LTS and it stops
> getting security patches. eg: debian etch 2010
>
> Compare this to a rolling release or distro with releases every 6-12
> months where kernel is changing and OS has bleeding edge versions and
> you will have a larger gaumet of issues. Concequently you will have to
> know more and be better at problem solving. Will you have a rollback
> plan when the dist-upgrade finishes and something breaks in a new
> exciting way?
>
> Obviously you can develop on any flavour of linux shouldnt matter.
> Managing a production server is different ballgame.
>
>
> good luck and i hope this advice helps
>
>
>
> On Mon, Aug 1, 2011 at 6:27 PM, Anoop Thomas Mathew <atm...@gmail.com>
> wrote:
> > Hi All,
> > Firstly, I am not here for a distro war.
> > I was using ubuntu 9.10, and then switched to fedora 14 and then to
> fedora
> > 15.
> > IMHO, It seems that they all were quite unstable. (Many times it hung up
> on
> > my Dell and HP machines - may be driver issues, still I don't want that
> > too.)
> > I would really like some recommendation for a linux distro which is much
> > stable, but still can support all relevant packages.
> > Top recommendations I found around was Debian and OpenSuse.
> > Please revert with your suggestions.
> > Thanks,
> > Anoop Thomas Mathew
> > atm
> > ___
> > Life is short, Live it hard.
> >
> >
> > --
> > 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 options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
> >
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



RE: Most stable Linux distribution for Django - Python development

2011-08-01 Thread Anoop Thomas Mathew
Hi All,
Firstly, I am not here for a distro war.

I was using ubuntu 9.10, and then switched to fedora 14 and then to fedora
15.
IMHO, It seems that they all were quite unstable. (Many times it hung up on
my Dell and HP machines - may be driver issues, still I don't want that
too.)
I would really like some recommendation for a linux distro which is much
stable, but still can support all relevant packages.

Top recommendations I found around was Debian and OpenSuse.
Please revert with your suggestions.

Thanks,
Anoop Thomas Mathew

atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: static urls

2011-07-19 Thread Anoop Thomas Mathew
Hi,

Depends on how you configured STATIC_URL in settings. If / is there in the
STATIC_URL, then no need to add it.
Add it with STATIC_URLS, that is the standard practice.

regards,

Anoop
atm
___
Life is short, Live it hard.




On 19 July 2011 11:31, NISA BALAKRISHNAN wrote:

> i am new to django
>
> @import "{{STATIC_URL}}/css/demo_page.css";
>
> the slash after {{STATIC_URL}} is needed? what is the actual usage ?
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: "attempt to write a readonly database" with write permissions in database file and folder

2011-06-29 Thread Anoop Thomas Mathew
Hi,
Seems selinux permissions are causing trouble. Try shutting it off and try
again.
Regards,
Anoop
On 29 Jun 2011 21:03, "hectoraka"  wrote:
> Hello,
>
> I am getting the "attempt to write a readonly database" when trying to
> access the admin site. I have read that this is usually due to
> incorrect permissions but the error persists even if I make the
> database file and folder writable by all:
>
> database file:
> -rw-rw-rw-. 1 hector developers 40960 6月 29 21:55 mialbum.db
>
> folder containing the database file:
> drwxrwsrwx. 2 hector developers 4096 6月 29 21:55 db
>
> Something I am missing?
>
> Thank you,
> Hector
>
> --
> 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 options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: E-store

2011-06-28 Thread Anoop Thomas Mathew
You can find many django based store modules.
The one i liked using was satchmo.
Check out http://www.satchmoproject.com/
and more help about it here.
https://bitbucket.org/chris1610/satchmo/wiki/Home

 regards,
Anoop
atm
___
Life is short, Live it hard.




On 28 June 2011 19:04, lillian cauldwell wrote:

> How does one set up an e-store on their d'jango website?
>
> Thanks,
> LSCauldwell
>
> --
> "Creator" Cauldwell
> CEO, Passionate World Radio, Inc.
> Distinguish Yourself From the Ordinary! (c) 2010-2011 PWR
> http://www.internetvoicesradio.com
> http://www.amazingworldsoflscauldwell.com
> http://pwrwebtv.intuitwebsites.com
> 734-827-9407
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django caching not working with SSL(https)

2011-06-22 Thread Anoop Thomas Mathew
Hi all,
I figured it out. The problem was with the google analytics cookies which
made each cookie different and vary on cookie reloaded cache each time.

This snippet helped.
http://djangosnippets.org/snippets/1772/

<http://djangosnippets.org/snippets/1772/>regards,
Anoop

atm
___
Life is short, Live it hard.




On 21 June 2011 15:55, Anoop Thomas Mathew <atm...@gmail.com> wrote:

> Hi all,
>
> A site which was caching through django caching backend db cache) it was
> working well. When we changed it to https instead of http, the system
> suddenly stopped caching. Is there any thought's regarding this?
> Anyone got the same issue?
>
> regards,
> Anoop
>
> atm
> ___
> Life is short, Live it hard.
>
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



RE: Django caching not working with SSL(https)

2011-06-21 Thread Anoop Thomas Mathew
Hi all,

A site which was caching through django caching backend db cache) it was
working well. When we changed it to https instead of http, the system
suddenly stopped caching. Is there any thought's regarding this?
Anyone got the same issue?

regards,
Anoop

atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: My django admin page breaks up . Any reason why ?

2011-06-15 Thread Anoop Thomas Mathew
Hi Satyajit,

On 15 June 2011 16:19, Satyajit Sarangi  wrote:

> My django admin page some times breaks up . As in , initially it will
> show all the required tables in a nice columns , but suddenly the
> whole design breaks and the data shows up in random ways .
>


1. The page breaks up because admin css and js is not accessible, try
debugging the html and find if css and js is accessible. Else make it so.


>
> Also how to reset the django admin password ?
>
>
2. http://coderseye.com/2007/howto-reset-the-admin-password-in-django.html Hope
this one helps.



> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


regards,
Anoop

atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: VERY cheap django hosting?

2011-06-08 Thread Anoop Thomas Mathew
Hi all,
It would be a good idea to check out hostrail.com which provides really
cheap vps' . I've been using it for last 6+ months and seems to be pretty
good @ 1.4$/month for 256 MB vps.
You can easily fetch some good promos to get cheap rates from them.

Regards,
Anoop Thomas Mathew
On 8 Jun 2011 19:36, "roberto" <robertomariobeni...@gmail.com> wrote:
> http://www.asmallorange.com/
>
> On Jun 8, 10:17 am, Chris Lawlor <lawlor.ch...@gmail.com> wrote:
>> Always Data (http://www.alwaysdata.com) has a free plan, but it is
>> quite limited (you only get 10 MB disk space).
>>
>> On Jun 8, 2:39 am, Maksymus007 <maksymus...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > megiteam.pl is 24PLN which is about 8usd a month:)
>>
>> > Pozdrawiam, Maksymilian Pawlak
>> > 08-06-2011 08:30 użytkownik "raj" <nano.ri...@gmail.com> napisał:> Hey
guys,
>> > > Just wondering if you could give me some hosts that are very cheap
for
>> > > django hosting? Is hostgator any good? I really don't know what to
>> > > look for in a host. A lot of people are recommending web faction, but
>> > > its around $9 bucks a month. I was looking in the $5 bucks a month
>> > > range. Any ideas? Thank you.
>> > > -Raj
>>
>> > > --
>> > > 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 options, visit
this group at
>>
>> >http://groups.google.com/group/django-users?hl=en.
>
> --
> 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 options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Best CSS/JS compressor?

2011-06-02 Thread Anoop Thomas Mathew
On 3 June 2011 00:01, Mike  wrote:

> What is everyone using to combine CSS/JS?
>
> Has anyone tried mod_pagespeed? Perhaps Django-Compressor?
>


Hi,

+1 for django-compressor.
Its very easy to use, and it servers its purpose well...

There is  a django-compress , but I found compressor more "developer
friendly".
No idea about mod_pagespeed.


> All the discussions I found were quite dated.
>
> Thanks
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
regards,
Anoop

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: admin site search field

2011-05-30 Thread Anoop Thomas Mathew
Hi,
Did you notice you are missing closing quote ' in the search fields???

Regards,
Anoop
On 31 May 2011 04:54, "podio"  wrote:
> Hi, I'm new and I'm trying to make an app that have a field, pointing
> to a record of the same object class. How can a make django has a
> search form and show the record of the class on a popup window like
> http://demoweb.cibernatural.com/admin/gestion/presupuesto/add/ (user
> and password demo:demo) but pointing to the same class
>
>
> class afiliado(models.Model):
> def __unicode__(self):
> return self.nombre
> nombre = models.CharField("Nombre",max_length=200)
> fecha_nac = models.DateField("Fecha Nacimiento")
> doc = models.CharField("Documento",max_length=20,blank =True)
> obra_social = models.ForeignKey(obra_sociale)
> caracter = models.ForeignKey(caractere)
> tipo = models.ForeignKey(tipo)
> titular = models.CharField(max_length=200) > this
> field
>
>
> class AfiliadoAdmin(admin.ModelAdmin):
> fieldsets = [
> (None ,{'fields':
> ['nombre','fecha_nac','DOCN','Nacionalidad']}),
> ('Datos Generales' ,{'fields':
> ['obra_social','caracter','tipo',"titular",'Matricula','fecha_ing']}),
> ('Datos de contacto',{'fields':
> ['Direccion',"CP","Ciudad","Provincia","Tel1","Tel2","Email"]}),
> ]
> list_display = ('nombre',"tipo")
> list_filter = ['Ciudad']
> search_fields = ['nombre','doc]
>
>
> Thansk!
>
> --
> 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 options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Regarding Django Applicaiton

2011-05-28 Thread Anoop Thomas Mathew
Hi Amit,
Welcome to django.
1.By th way, this is not the proper way to behave in a mailing list. First
learn that.
2. Run a basic app and try the tutorial at docs.djangoproject.com, only then
your'll understand what to ask.
3. Be more specific while asking questions, maximum descriptive as possible.

Helped!!!
;)
Best of luck man. You'll surely be helped if you ask specifically.

Regards,
Anoop
On 28 May 2011 18:14, "Amit Pal"  wrote:
> Hello,
>
> I am Amit Pal , a undergrduate studentI need your help . I am new
> at Django and just run the first application on my workstation.
>
> I have to make a django applicaiton i.e.
>
> TO build a website which shows the IP location (geoip) on Google
> map I need your help very urgently ..
>
> Waiting for your all response :)
>
> --
> 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 options, visit this group at
http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Loading project to alwaysdata

2011-05-07 Thread Anoop Thomas Mathew
Can you elaborate a little. is it that you want to set up a django
project or just to display an html from web space??

if your aim is 1,
you can find help here..
docs.djangoproject.com/en/dev/howto/deployment/

if your aim is 2,
you'd better go to some basic web hosting forums.

regards,


On 08/05/2011, ruler501  wrote:
> I have made a project and now want to put it on the internet. How do I
> get it on alwaysdata. I have registered a domain name already and have
> an account.
>
> I do not know much about how internet stuff works. my knowledge stops
> at how to code the websites(and not too much here yet). so If you
> could explain it like how you'd explain it to someone who knows almost
> nothing so I could understand it.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django Bigener

2011-05-07 Thread Anoop Thomas Mathew
Hi Rahim,

try docs.djangoproject.com
and do the tutorial yourself. This would help you very much.

regards,
atm

On 08/05/2011, hersh  wrote:
> Hi to all,
>
> I am new. I want to apply Django to develop an E-commerce project. I
> am looking for a good reference to start. I 'd like to add that I have
> to do the project in less than one month. I need a quick reference to
> understand the basics of Django and start my project. If there are
> some sample project it could be really helpful. Let describe myself: I
> am quit familiar with programming. I have done lots of programming in
> C/C++. But I am beginner in Python and have heard of Django yesterday.
>
> Please guide me and help me find the way. If you have any TUTORIALS
> and REFERENCES
>
> Thanks in advance
> / Rahim
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Stackoverflow kind of Answer/commenting app in Django

2011-04-11 Thread Anoop Thomas Mathew
http://osqa.net/

regards,
atm
___
Life is short, Live it hard.




On 12 April 2011 07:04, AJ  wrote:

> I was wondering if there is a pluggable application in Django that I
> can use which is a replica of Stackoverflow kind Answer and
> commenting.
>
> Each post on my web app will have answers and all answers can have
> comments discussing that answer, just like SO.
>
> Does anyone know such an app or has anyone been able to modify the
> Django commenting app to build this?
>
> Thanks.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django News Site Resources

2011-04-08 Thread Anoop Thomas Mathew
Search in the groups history first. You'll get a lot of related topics.
regards,
atm
___
Life is short, Live it hard.




On 8 April 2011 17:51, Ed Sutherland  wrote:

> Can anyone point me to some resources for building a Django-based news
> site?
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread Anoop Thomas Mathew
Hi goutam,

1. You should not attach files in here. Bad practice. Just post it somewhere
like dpaste.de or pastebin.ca

Now,

You just try renaming your homepage_about to about. _ are usually taken
instead of . .And change correspondingly everywhere. It should work.

regards,
atm
___
Life is short, Live it hard




On 6 April 2011 19:11, GOUTAM KUMAR RANA  wrote:

> Oops Sorry , Its _  i was just trying by changing _ to -  .  At the time of
> - I had taken the screen shot . At _ and _ the same error is shown. plesae
> help.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread Anoop Thomas Mathew
Hi Goutam,

Post your urls.py somewhere.
It seems you have not added anything in urls.py to handle homepage_about.
regards,
atm
___
Life is short, Live it hard.




On 6 April 2011 18:26, GOUTAM KUMAR RANA  wrote:

> Environment:
>
>
> Request Method: GET
> Request URL: http://localhost:8000/
>
> Django Version: 1.3
> Python Version: 2.7.1
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes'
> ,
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.messages',
>  'django.contrib.staticfiles',
>  'apps.data',
>  'django.contrib.admin',
>  'django.contrib.admindocs']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.middleware.csrf.CsrfViewMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Template error:
> In template
> d:\djangoproject\p_source_code\inventory\templates\homepage\index.html,
> error at line 7
>Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with
> arguments '()' and keyword arguments '{}' not found.
>1 : {% extends "base.html"%}
>
>
>2 : {% block title %}
>
>
>3 : Index Page
>
>
>4 : {% endblock %}
>
>
>5 :
>
>
>6 : {% block navi %}
>
>
>7 : home - about - archive - contactcontact
>
>
>8 : {% endblock %}
>
>
>9 :
>
>
>10 : {% block content %}
>
>
>11 : Entries:
>
>
>12 : {% for e in entries %}
>
>
>13 :  {{ e.title }}-{{ e.created }} 
>
>
>14 :  {{ e.text }} 
>
>15 : 
>
>
>16 : {% endfor %}
>
>
>17 : {% endblock %}
>
>
> Traceback:
> File "C:\PYTHON27\lib\site-packages\django\core\handlers\base.py" in
> get_response
>   111. response = callback(request, *callback_args,
> **callback_kwargs)
> File
> "D:\DjangoProject\p_source_code\inventory\..\inventory\apps\homepage\views.py"
> in index
>   7. return render_to_response('homepage/index.html',ctx)
> File "C:\PYTHON27\lib\site-packages\django\shortcuts\__init__.py" in
> render_to_response
>   20. return HttpResponse(loader.render_to_string(*args, **kwargs),
> **httpresponse_kwargs)
> File "C:\PYTHON27\lib\site-packages\django\template\loader.py" in
> render_to_string
>   183. return t.render(Context(dictionary))
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   123. return self._render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in _render
>   117. return self.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744. bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73. result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\loader_tags.py" in
> render
>   127. return compiled_parent._render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in _render
>   117. return self.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744. bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73. result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\loader_tags.py" in
> render
>   64. result = block.nodelist.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\base.py" in render
>   744. bits.append(self.render_node(node, context))
> File "C:\PYTHON27\lib\site-packages\django\template\debug.py" in
> render_node
>   73. result = node.render(context)
> File "C:\PYTHON27\lib\site-packages\django\template\defaulttags.py" in
> render
>   450. raise e
>
> Exception Type: TemplateSyntaxError at /
> Exception Value: Caught NoReverseMatch while rendering: Reverse for
> 'homepage_about' with arguments '()' and keyword arguments '{}' not found.
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Multiple modelforms in single POST

2011-03-14 Thread Anoop Thomas Mathew
Thanks buddy.
Sure!! I'll try next time.
regards,
atm

___
Life is short, Live it hard.




On 14 March 2011 14:46, bruno desthuilliers
<bruno.desthuilli...@gmail.com>wrote:

> On 14 mar, 08:16, Anoop Thomas Mathew <atm...@gmail.com> wrote:
> >
> > @bruno: If this(http://dpaste.de/ODOJ/) was not enough for you,  ...
>
> No, it was not enough. "No success" is just a variant of "doesn't
> work", which is about the most useless possible description of a
> problem.
>
> http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Multiple modelforms in single POST

2011-03-14 Thread Anoop Thomas Mathew
Hi all,
I solved it out..
I got a good tutorial on it, from James Bennett:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/

@bruno: If this(http://dpaste.de/ODOJ/) was not enough for you,  ...
@Gladys: Thanks for your time.

regards,
atm


___
Life is short, Live it hard.




On 13 March 2011 21:40, gladys bixly <gladysbi...@gmail.com> wrote:

> If you look at this code:
>
> class Profileform(forms.ModelForm):
>
>   class Meta:
>
>   model = User
>   fields = ('first_name','last_name','email',)
>
>   class Employeeform(forms.ModelForm):
>
> """self explanatory"""
>
> class Meta(Profileform):
> model = Profile
> exclude = ('user',)
>
>
> Your Profileform is associated with the User model.
> Now your Employeeform, I assume, you want to associate with the Profile
> model. But why did you have to inherit the Meta from Profileform with this
> line "Class Meta(Profileform)"? Do you want to override it?
>
>
>
> On Fri, Mar 11, 2011 at 6:16 PM, bruno desthuilliers <
> bruno.desthuilli...@gmail.com> wrote:
>
>>
>>
>> On 11 mar, 07:58, Anoop Thomas Mathew <atm...@gmail.com> wrote:
>> > Hi all,
>> >
>> > I have a Profile model, which has a ForiegnKey to User model. I want to
>> edit
>> > both of it at same form.
>> >
>> > this is what I tried,http://dpaste.de/ODOJ/
>> > Still, no success. Please help.
>>
>> You'll have to provide a bit more informations if you hope to get some
>> help - like, what "no success" means *exactly*
>>
>> Now just for the record, chances are your Profile.id is not the same
>> as User.id so there's probably something wrong with your view.
>>
>> Also and FWIW, I had the same need (editing user and profile fields in
>> a same form) in a couple apps, and always ended up writing my own (non-
>> model) form. ModelForms are quite handy, but it's sometimes easier and
>> quicker to write a custom form instead.
>>
>> --
>> 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 options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>
>
> --
> Gladys
> http://bixly.com
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



RE: Multiple modelforms in single POST

2011-03-10 Thread Anoop Thomas Mathew
Hi all,

I have a Profile model, which has a ForiegnKey to User model. I want to edit
both of it at same form.

this is what I tried, http://dpaste.de/ODOJ/
Still, no success. Please help.

regards,
atm

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: PLEASE HELP ME IN ADDING A CATEGORY IN THE ADMIN SITE

2011-03-08 Thread Anoop Thomas Mathew
Pankaj,

If there is no relevant data in the db, remove it, create a new db and try
syncdb.
That'll work.

regards,
atm
___
Life is short, Live it hard.




On 8 March 2011 18:00, Kenneth Gonsalves  wrote:

> On Mon, 2011-03-07 at 21:34 -0800, pankaj sharma wrote:
> > and when i click on college in admin site  then it show me error like
> > this
>
> when changing fields within a model, you have to manually change the
> database table. Syncdb will not do it.
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Collaborative text editor with Django

2011-02-28 Thread Anoop Thomas Mathew
@piotr zalewa:
jsFiddle is of course a nice
Is jsFiddle open source?? I couldn't find its source anywhere.
http://www.facebook.com/topic.php?uid=183790024998=14241

So, friends,
This etherpad is in comet (java) and can anyone tell how to integrate
etherpad, keeping it as it is, with other django apps???
Some iFrame ideas??? Please file-in your views.
Is that a really bad idea???

regards,
Anoop

atm
___
Life is short, Live it hard.




On 26 February 2011 15:10, Piotr Zalewa  wrote:

>
> Not all code is a part of bigger infrastructure, but here it is: pair
> programming in jsFiddle (which is a django project).
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django and mod_wsgi

2011-02-28 Thread Anoop Thomas Mathew
Try adding,


*import os*

*import sys*

* *

*path = 'C:\\Programme\\Apache Software Foundation\\Time2\\Time2\\'*

*path1 = 'C:\\Programme\\Apache Software Foundation\\Time2\\'*

*
*

*if path not in sys.path:*

*sys.path.append(path)*

*sys.path.append(path1)
*

* *

*os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' (I’ve tried to
replace mysite with the name of my app but that doesn’t work either)*

* *

*import django.core.handlers.wsgi*

*application = django.core.handlers.wsgi.WSGIHandler()*
*
*atm
___
Life is short, Live it hard.




On 28 February 2011 17:49, Szabo, Patrick (LNG-VIE) <
patrick.sz...@lexisnexis.at> wrote:

>  I’m trying to get my django-app running on apache 2.2  on windows XP.
>
> I’ve installed everything and the Hello Worlf wsgi ran fine.
>
>
>
> Now i wanted to run my django ap and did the following in a django.wsgi :
>
>
>
> *import os*
>
> *import sys*
>
> * *
>
> *path = 'C:\\Programme\\Apache Software Foundation\\Time2\\Time2\\'*
>
> *if path not in sys.path:*
>
> *sys.path.append(path)*
>
> * *
>
> *os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' (I’ve tried to
> replace mysite with the name of my app but that doesn’t work either)*
>
> * *
>
> *import django.core.handlers.wsgi*
>
> *application = django.core.handlers.wsgi.WSGIHandler()*
>
>
>
> I get the following error:
>
>
>
> *[Mon Feb 28 13:11:06 2011] [error] [client 10.122.64.212] ImportError:
> Could not import settings 'mysite.settings' (Is it on sys.path? Does it have
> syntax errors?): No module named mysite.settings*
>
> * *
>
> My project is called Time2.
>
>
>
> Like i said a test file from the wsig tutorial runs fine so wsgi should be
> installed correctly.
>
>
>
> Can anyone help me ?!
>
>
>
> Kind regards
>
>
>
>
>
>  . . . . . . . . . . . . . . . . . . . . . . . . . .
>
>  **
>
> Patrick Szabo
> XSLT-Entwickler
>
> LexisNexis
> Marxergasse 25, 1030 Wien
>
> patrick.sz...@lexisnexis.at
>
> Tel.: +43 (1) 534 52 - 1573
>
> Fax: +43 (1) 534 52 - 146
>
>
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Collaborative text editor with Django

2011-02-23 Thread Anoop Thomas Mathew
Hi Mike,
I think you miss read me. I mean an application to put in the website, not
for coding on desktop. A collaborative text editor within the site, some
pre-built django apps.

Any ideas?

regards,
Anoop
atm
___
Life is short, Live it hard.




On 23 February 2011 18:12, Mike Ramirez <gufym...@gmail.com> wrote:

>  On Wednesday, February 23, 2011 12:32:55 am Anoop Thomas Mathew wrote:
>
> > Hi,
>
> >
>
> > Is there any collaborative text editing application available for django.
>
> > Has anybody tried with etherpad(www.etherpad.org) along with django?
>
> >
>
> > Please reply,
>
> > Thanks in advance,
>
> > Anoop
>
> >
>
> > atm
>
> > ___
>
> > Life is short, Live it hard.
>
> I like eric5 for this, it's python 3.x though. But great collabrotive tools
> involved, including a chat server and issue tracker.
>
> Gobby is another, but his is more general purpose than coding.
>
>  I've also seen screen + [vi|emacs|nano] for collaboritve coding on the
> server side.
>
>  As for etherpad nope, never have bothered, never heard of it till now
> ftr.
>
> Mike
>
> --
>
> A little pain never hurt anyone.
>
>  --
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



RE: Collaborative text editor with Django

2011-02-23 Thread Anoop Thomas Mathew
Hi,

Is there any collaborative text editing application available for django.
Has anybody tried with etherpad(www.etherpad.org) along with django?

Please reply,
Thanks in advance,
Anoop

atm
___
Life is short, Live it hard.

-- 
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 options, visit this group at 
http://groups.google.com/group/django-users?hl=en.