Create account that can either be a person or a group

2016-05-19 Thread Karl Arunachal
I want to create user accounts for my website. The account can be either a person or a group. So for *person* account I want to get different information from them (such as First name, Last Name, ...), and for *group* account get different information (such as Group name, ...). Basically different

django summernote not working properly

2013-10-13 Thread Karl Arunachal
I am using django-summernote as a wysiwyg editor. And till now, I can save the post from the summernote editor and can display it too using the safe filter. But some of its functionalities are not there in my template. 1. There is no image upload butt

Re: [Deployment + Apache2] difference between development server & production server

2013-09-18 Thread Karl Arunachal
Its always a pleasure. Have fun coding! On Mon, Sep 16, 2013 at 11:20 PM, hung david wrote: > > > On Monday, September 16, 2013 2:05:56 AM UTC+7, Kakar wrote: >> >> I dont know what you actually mean, but I think just by passing the url >> that you have created in the urls.py, which points to th

Re: Resize image size in the view

2013-09-10 Thread Karl Arunachal
Hello Carlos! I tried using sorl thumbnail, but whenever I uploads the image, it does upload the image cause I can see it in the folder, but the apache server does not load the uploaded image. But when I load it through the django's inbuilt server it loads the image correctly. On Wed, Sep 11, 201

Re: message_set filter

2013-08-18 Thread Karl Arunachal
Thank you. On Sun, Aug 18, 2013 at 2:17 PM, Avraham Serour wrote: > so what's the question? > > > On Sat, Aug 17, 2013 at 7:52 AM, Karl Arunachal < > kakararunachalserv...@gmail.com> wrote: > >> Hello, >> I have a model for messaging between

Re: As a New Bee

2013-08-17 Thread Karl Arunachal
Pycharm! On Fri, Aug 16, 2013 at 7:58 PM, Apokalyptica Painkiller < apokalyptic...@gmail.com> wrote: > Hello Sujeet try this IDE: http://ninja-ide.org/ > > I hope you like it! > > > 2013/8/16 Sujeet Buddiga > >> Hi Djano'ans, >>Im a new bee to Django and would like to work w

message_set filter

2013-08-16 Thread Karl Arunachal
Hello, I have a model for messaging between the users. models.py: class Message(models.Model): description = models.TextField() date_added = models.DateTimeField(default=datetime.now) sender = models.ForeignKey(User, related_name='sent_set') recipient = models.ForeignKey(User, rel

Re: south in windows

2013-08-12 Thread Karl Arunachal
Thank you! That solved my problem. On Mon, Aug 12, 2013 at 5:05 AM, Mike Dewhirst wrote: > On 12/08/2013 5:36am, Karl Arunachal wrote: > >> Hi, >> I am trying to sync south in my db, but i can't sync it. Its giving me >> an error: >> (use ./manage.py migrate t

south in windows

2013-08-11 Thread Karl Arunachal
Hi, I am trying to sync south in my db, but i can't sync it. Its giving me an error: (use ./manage.py migrate to migrate these) Is there anyway to do this command, "./manage.py", in windows. I could have done it by chmod + x manage.py in other os. But how do i do it in windows? Is there any other w

Re: Help getting started: Which server setup for a beginner? Apache? lighttpd? To use or not virtualenv?

2013-07-30 Thread Karl Arunachal
If you are in windows, I guess i can help you. On Tue, Jul 30, 2013 at 9:18 PM, Jared Nielsen wrote: > I'm trying to learn Django but finding myself lost in troubleshooting > hell. I can't find consistent information on the best approach for a > beginner to get set up. > > I started setting up A

Re: background image

2013-07-30 Thread Karl Arunachal
Thank you. I will try as you told me. Just one more question, how do i create different static directory for each user? On Tue, Jul 30, 2013 at 5:37 PM, Christian Erhardt < christian.erha...@mojo2k.de> wrote: > Generally speaking you could extend the users profile and add a field to > it. Then y

Re: flatpages-tinymce

2013-07-29 Thread Karl Arunachal
quot;? Which error are you > getting? > > > > > On 07/28/2013 08:35 AM, Karl Arunachal wrote: > > Hello, > I am trying to use tinymce in the flat pages. But i just can't show it up > in my admin. Please help me out where am going wrong. > > The java

background image

2013-07-29 Thread Karl Arunachal
Hello, What do I do to let user upload their own images, and as use it as their profile's background. I am out of clue. Please advice me. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

flatpages-tinymce

2013-07-27 Thread Karl Arunachal
Hello, I am trying to use tinymce in the flat pages. But i just can't show it up in my admin. Please help me out where am going wrong. The javascript file is in: C:\Users\Kakar\web\cms\static\js\tinymce\tinymce.min.js urls.py: (r'^tiny_mce/(?P.*)$', 'django.views.static.serve', { 'document_root

tinymce

2013-07-27 Thread Karl Arunachal
Hello, I am not able to use the tinymce editor in my flat pages. My tinymce is in this dir: C:\Users\Kakar\Downloads\Compressed\tinymce\js\tinymce\tinymce.min.js And in my template dir i have another admin folder for 'change_form.html', just below this line: i have added this line for tiymce:

tinymce

2013-07-26 Thread Karl Arunachal
Hi, I want to integrate tinymce in my text area. But i can't find any good tutorials for it. Can some someone please advice me how to do this. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rec

Re: CSRF in javascript

2013-07-21 Thread Karl Arunachal
return render_to_response('bookmark_list.html', variables, > RequestContext(request)) > > > --Fred > -- > Fred Stluka -- mailto:f...@bristle.com -- > http://bristle.com/~fred/ > Bristle Software, Inc -- http://bristle.com -- Gla

Re: CSRF in javascript

2013-07-20 Thread Karl Arunachal
See: > - https://docs.djangoproject.com/en/dev/ref/contrib/csrf/ > and especially: > - https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax > > Also, you can find tons of working examples by Googling: > django csrf ajax > > --Fred > --

CSRF in javascript

2013-07-20 Thread Karl Arunachal
Hi, In my users page, i have in place editing with ajax. And when i click edit, it works fine. But when i submit the form, it don't do anything. When i checked, this is the error: CSRF verification failed. Request aborted. So, how do I place {% csrf_token %} in my javascript? Please advice. Than

Allow users to have a online store on the site

2013-07-19 Thread Karl Arunachal
Hello, There's one plugin for wordpress called Marketpress E commerce, it has many features, but what i am interested is that, with that plugin users can create online store in your site and sell their products. So, is there any plugin or package like Marketpress for django, which have this feature