Re: rich text editor

2013-07-18 Thread Kakar Arunachal Service
e rendered text > 5. Make changes to yourcurrentcssfile.css to include styling for the > BBCode. > 6. GOTO 2 > 7. ??? > 8. Profit!!! > > I hope I understood your question well enough. Good luck! > > Cheers, > AT > > On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Servic

Re: rich text editor

2013-07-18 Thread Kakar Arunachal Service
to start in case you want to rollout your own. > > > Cheers, > AT > > On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service < > kakararunachalserv...@gmail.com> wrote: > >> Hello, >> Just a thought, can a rich text editor be integrated to a social &

rich text editor

2013-07-18 Thread Kakar Arunachal Service
Hello, Just a thought, can a rich text editor be integrated to a social networking site. Or should every user have a css each? Its just a thought, was just wondering but would be glad if any of you could advice me how to if its possible. Thank you. -- You received this message because you are

django statics

2013-07-14 Thread Kakar Arunachal Service
Hello, I read the django docs, but my still confused. How do i use the static files, for css? Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Display error message

2013-07-13 Thread Kakar Arunachal Service
Hi, I have a site, that has a submit form, but one must be logged in for that. And if the user is not logged in, it redirects it to the login page. And this all fine. My question is, what do I do to display the error message, "You must be logged to submit.", if the user is not logged in and tries

Re: 'SimpleLazyObject'

2013-07-13 Thread Kakar Arunachal Service
Yes, you are right. On Sat, Jul 13, 2013 at 7:07 PM, Victor Rocha wrote: > This is a wild guess but I do not see the login_required decorator on your > view. I think you are getting this error because you are trying to save an > Bookmark object passing an anonymous user as

Re: 'SimpleLazyObject'

2013-07-13 Thread Kakar Arunachal Service
ser = request.user, > link = link > ) > > To this: > Bookmark.objects.get_or_create( > user = request.user.id, > link = link > ) > > Sent from my Windows Phone > ----------

Re: 'SimpleLazyObject'

2013-07-12 Thread Kakar Arunachal Service
n Value: int() argument must be a string or a number, not 'SimpleLazyObject' Please help. On Sat, Jul 13, 2013 at 12:30 AM, Sithembewena Lloyd Dube <zebr...@gmail.com > wrote: > What does the trace information say in your browser (or shell)? The trace > should be giving more informati

'SimpleLazyObject'

2013-07-12 Thread Kakar Arunachal Service
I've got a TypeError: int() argument must be a string or a number, not 'SimpleLazyObject' Here's my view: def bookmark_save_page(request): if request.method == 'POST': form = BookmarkSaveForm(request.POST) if form.is_valid(): # Create or get link.

Re: form.errors

2013-07-12 Thread Kakar Arunachal Service
Okay. Thank you so very much! Just one last question, just to know that i got it right. So, variables and return are not part of the else clause, and that they return the errors of the last form post. Did i got it right? On Fri, Jul 12, 2013 at 8:41 PM, Daniel Roseman

Re: form.errors

2013-07-12 Thread Kakar Arunachal Service
Okay! That did solved the problem. Thank you! Here's my new view.py: def register_page(request): if request.method == 'POST': form = RegistrationForm(request.POST) if form.is_valid(): user = User.objects.create_user(

Re: form.errors

2013-07-11 Thread Kakar Arunachal Service
Its just displaying form again, but without any errors. Please guide me to where am missing something. On Fri, Jul 12, 2013 at 4:34 AM, Kakar Arunachal Service < kakararunachalserv...@gmail.com> wrote: > I am sorry, but its still not displaying any errors after it renders. > > &

Re: form.errors

2013-07-11 Thread Kakar Arunachal Service
html', {'form':form}) > > Cheers > > > On Thu, Jul 11, 2013 at 4:08 PM, Kakar Arunachal Service < > kakararunachalserv...@gmail.com> wrote: > >> Hi, >> I am learning Django from an old Django version book, and i am stuck with >> a problem regarding forms. Wh

form.errors

2013-07-11 Thread Kakar Arunachal Service
Hi, I am learning Django from an old Django version book, and i am stuck with a problem regarding forms. When i render forms, i get the registration right, but if its incorrect, it does not show the error msg in the html. I tried {{form.errors}}, but couldn't fix he problem. Please guide me. Thank

Re: change buttons or widgets

2013-07-08 Thread Kakar Arunachal Service
Thank you so much That's just what i needed! And while i was searching for this, i came across this: django-crispy ( http://django-crispy-forms.readthedocs.org/en/1.1.1/index.html). Just wanted to share! On Mon, Jul 8, 2013 at 6:48 PM, Derek wrote: > Widgets:

change buttons or widgets

2013-07-07 Thread Kakar Arunachal Service
Hi, I think this is too early for me to ask bcoz m still learning the whole web thig. But i'm just very curious. So my question is, how do i change the button or widgets if i had to? I'm sorry if i named or termed it in a wrong way. Thanks! -- You received this message because you are

Re: Big Picture?

2013-07-07 Thread Kakar Arunachal Service
True! On Sun, Jul 7, 2013 at 7:35 PM, Amirouche Boubekki < amirouche.boube...@gmail.com> wrote: > Hi, > > I have a diagram I call big picture, you might find it useful (see > attachment). > > Anything green is most of the time provided by the framework at least it > is the case in Django. > >

Re: CSRF verification failed

2013-07-07 Thread Kakar Arunachal Service
Thank you Sanjay! On Sun, Jul 7, 2013 at 4:08 AM, Sanjay Bhangar <sanjaybhan...@gmail.com>wrote: > On Sat, Jul 6, 2013 at 9:38 AM, Kakar Arunachal Service < > kakararunachalserv...@gmail.com> wrote: > >> Hello! >> I am getting CSRF verification failed error, ev

CSRF verification failed

2013-07-06 Thread Kakar Arunachal Service
Hello! I am getting CSRF verification failed error, even after i added {% csrf_token %} tag in the html file. Here's my html file: {% extends "base.html" %} {% block title %} User Registration {% endblock %} {% block head %} User Registration {% endblock %} {% block content %} {%

Re: redirct page

2013-07-06 Thread Kakar Arunachal Service
thank you much! That did solved the problem! On Sat, Jul 6, 2013 at 7:15 PM, Black9design.com <black9desi...@gmail.com>wrote: > I noticed in the snippet that you provided that it says "form methon". See > if that is the issue. > > On Jul 6, 2013, at 6:29

Re: redirct page

2013-07-06 Thread Kakar Arunachal Service
f it doesn't solve the problem, you need to provide more info and be more > specific about your "trouble". > > Dne Sat, 6 Jul 2013 17:44:04 +0530 > Kakar Arunachal Service <kakararunachalserv...@gmail.com> napsal(a): > > > Hi, > > I am having trouble with

redirct page

2013-07-06 Thread Kakar Arunachal Service
Hi, I am having trouble with redirecting the login page to index page. Please guide me. Here's the html snippet: User Login {% if form.errors %} Your username and password didn't match. Please try again. {% endif %}

model relationship

2013-07-05 Thread Kakar Arunachal Service
Hello, Please guide me in model relationship. When to use many to many, many to one, one to one relationships??? I'm all confused. Thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

alternate to gunicorn

2013-07-03 Thread Kakar Arunachal Service
Hi, If i was to use nginx in windows, is ther any alternate to Gunicorn for windows environment. Thanks. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: nginx and apache

2013-07-03 Thread Kakar Arunachal Service
Thanks Rafael! On Wed, Jul 3, 2013 at 12:08 AM, Rafael E. Ferrero <rafael.ferr...@gmail.com > wrote: > https://code.djangoproject.com/wiki/DjangoAndNginx > http://wiki.nginx.org/DjangoFastCGI > > its a start. ;) > > > 2013/7/2 Kakar Arunachal Service <kakararunac

Re: nginx and apache

2013-07-02 Thread Kakar Arunachal Service
Can you please suggest any good tutorial regarding this. And i'm on windows. :( -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: django admin

2013-07-02 Thread Kakar Arunachal Service
Thanks a ton! :D On Tue, Jul 2, 2013 at 9:13 PM, Deepak Sharma <deeky.sha...@gmail.com>wrote: > On Tue, Jul 2, 2013 at 9:05 PM, Kakar Arunachal Service > <kakararunachalserv...@gmail.com> wrote: > > I am really confused here Can i change the admin url??? Or

Re: nginx and apache

2013-07-02 Thread Kakar Arunachal Service
tatic server > and apache for app server... others says that nginx with lighttpd its more > faster (and better for concurrency). > For now im using only one web-server. > > Cheers > > > 2013/7/1 Kakar Arunachal Service <kakararunachalserv...@gmail.com> > >> Hi,

django admin

2013-07-02 Thread Kakar Arunachal Service
Hi! I am really confused here Can i change the admin url??? Or does it always have to be "www.example.com/admin" ??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

nginx and apache

2013-07-01 Thread Kakar Arunachal Service
Hi, I am very confused with these two. I know about apache, but not much. And then i came across nginx and that its much faster and easier than apache. Please guide me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: What is the best practice to learn Django 1.5?

2013-06-28 Thread Kakar Arunachal Service
For me, Beginning Django E-commerce by James McGaw was very helpful! Hope this helped you. On Fri, Jun 28, 2013 at 8:08 PM, Mike Dewhirst wrote: > On 28/06/2013 11:47pm, Roberto López López wrote: > >> Two scoops of django is also a good book https://django.2scoops.org/

postgresql 64 bit in python 32 bit

2013-06-03 Thread Kakar Arunachal Service
Hi, I just uninstalled python 64 bit and reinstalled python 32 bit. So i have postgresql 64 bit in my system. Will it a problem later if i use 32 bit python in 64 bit postresql? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: linux or windows

2013-06-01 Thread Kakar Arunachal Service
Thanks! On Sat, Jun 1, 2013 at 9:04 PM, Artem Zinoviev wrote: > Django is a python. And nothing more... if you want be a python developer > linux is must have. Of course you can develop in windows and play with you > code some times... But a lot of python package don`t

Re: linux or windows

2013-05-31 Thread Kakar Arunachal Service
Thanks! Learned many things! On Fri, May 31, 2013 at 6:57 PM, Javier Guerra Giraldez wrote: > On Fri, May 31, 2013 at 7:55 AM, Mike Dewhirst > wrote: > > I don't know of anyone voluntarily using Windows as a Django production > > server platform. > >

Re: linux or windows

2013-05-31 Thread Kakar Arunachal Service
Ok! Thank u so much! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to

Re: linux or windows

2013-05-31 Thread Kakar Arunachal Service
lf a disservice if you > weren't familiar with a unix/linux flavor (not saying you aren't). > > Also, security is better historically (may have to check on that one.) > > > On Fri, May 31, 2013 at 7:26 AM, Kakar Arunachal Service < > kakararunachalserv...@gmail.com> wrote: &g

Re: linux or windows

2013-05-31 Thread Kakar Arunachal Service
er hand if your server is ubuntu some might choose to use it for > development also, to be as close as possible to the production environment > > > On Fri, May 31, 2013 at 2:15 PM, Jonas Geiregat <jo...@geiregat.org>wrote: > >> >> On 31 May 2013, at 13:11, Kakar

linux or windows

2013-05-31 Thread Kakar Arunachal Service
Hi! I know this question is one absurd question, but just out of curiosity, is it important to use linux other than the windows, related to django. Cause i'm in windows, and if it is, then i was thinking to use Ubuntu. Please advise. -- You received this message because you are subscribed to the

Re: view data tables?

2013-05-30 Thread Kakar Arunachal Service
thanks It worked pretty well! On Sun, May 26, 2013 at 6:47 AM, Drew Ferguson <d...@afccommercial.co.uk>wrote: > On Sun, 26 May 2013 06:14:11 +0530 > Kakar Arunachal Service <kakararunachalserv...@gmail.com> wrote: > > > Sad, i'm on windows! So, can u tell me ho

Re: view data tables?

2013-05-25 Thread Kakar Arunachal Service
y 2013 05:23:08 +0530 > Kakar Arunachal Service <kakararunachalserv...@gmail.com> wrote: > > > Hi, how to view the tables in pg admin for postgresql database, or in > > workbench for mysql db.?? Like there's sqlite databse browser for > > sqlite3. Any other GUI mayb

view data tables?

2013-05-25 Thread Kakar Arunachal Service
Hi, how to view the tables in pg admin for postgresql database, or in workbench for mysql db.?? Like there's sqlite databse browser for sqlite3. Any other GUI maybe? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

theme generator

2013-05-21 Thread Kakar Arunachal Service
Hi! Is there any kind of theme generator or css generator for django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com.

postgresql

2013-05-20 Thread Kakar Arunachal Service
hi guyz! I'm new to django and python, and very new to postgresql. Can u suggest any books or tutorial for postgresql??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: no module name.models

2013-05-19 Thread Kakar Arunachal Service
Thanks! But i gt d solution, i just had to import catalog.models, as it was in my project folder. Thanks by d way! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: no module name erro

2013-05-18 Thread Kakar Arunachal Service
Ok i got d solution for ProductAdmin not in the form problem. But thanks again! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
And by the way thanks for being patience with me! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
Ok i removed ecomstore from, from ecomstore.catalog.models import Product, Category to from catalog.models import Product, Category And i think it worked fine. But now again it gives an error: ImproperlyConfigured at/catalog - 'ProductAdmin.exclude' refers to field 'created_at' that is missing

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
The directory is as follows: ecomstore --manage.py --ecomstore __init__.py settings.py urls.py wsgi.py --preview __init__.py models.py views.py test.py --templates --tags navigation.html base.html catalog.html index.html --static css.css --catalog __init__.py

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
ecomstore is the project name. And within it, it has another ecomstore, which has the __init__.py, settings.py, urls.py and wsgi.py. And yes catalog too has the __init__.py file in it, as it was created by the startapp command. The error says, import error: no module named catalog.models in

Re: no module name error

2013-05-18 Thread Kakar Arunachal Service
Oh..m sorry. I mistyped, it was not django.ecomstore.catalog.models, but just, ecomstore.catalog.models import Category, Product. N in the catalog dir, it has __init__.py file, so should have done the problem. N m using sqlite3 so i dnt need adapters too. Pls help. -- You received this message

no module name error

2013-05-18 Thread Kakar Arunachal Service
I'm practicing from a book Begining django e-commerce and m stuck in one place. My project name is ecomstore, and in it i have two app, one is preview and the other is catalog. In my preview app, there's just html in the templates dir, and thats not the problem, because the result was fine when i

no module name.models

2013-05-18 Thread Kakar Arunachal Service
I'm practicing from a book Begining django e-commerce and m stuck in one place. My project name is ecomstore, and in it i have two app, one is preview and the other is catalog. In my preview app, there's just html in the templates dir, and thats not the problem, because the result was fine when i

Re: Accessing django development server using internet

2013-05-07 Thread Kakar Arunachal Service
Sorry, i'm on win 7. On Tue, May 7, 2013 at 9:30 PM, Shawn Milochik wrote: > pip install gunicorn, then run python manage.py run_gunicorn instead of > runserver. > > Ensure that the port you're running your app on is being handled properly > by your Web server app (nginx or

Re: Accessing django development server from internet!

2013-05-07 Thread Kakar Arunachal Service
Thank you for your reply! But coud you pls explain in detail how to make it available over the internet. And i dont have a router, m running it on my laptop. Pls advise. On Tue, May 7, 2013 at 11:10 PM, Nikolas Stevenson-Molnar < nik.mol...@consbio.org> wrote: > Keep in mind that the Django

Re: Is it possible to create website like Squarespace or Wix in django?

2013-04-20 Thread Kakar Arunachal Service
Thank u so much! Now i know django is my way to go. On Sun, Apr 21, 2013 at 10:28 AM, Shawn Milochik wrote: > I don't think there's any kind of site you *can't* make with Django. It's > a Web framework, not a CMS. > > It's definitely possible (and trivial) to offer a wide

Re: Hello Django Warriors!

2012-07-17 Thread Kakar Arunachal Service
On Sun, Jul 15, 2012 at 2:56 AM, Timothy Makobu wrote: > Django Warr LOL! > > Have a look at Pinax http://pinaxproject.com/ > > > On Sun, Jul 15, 2012 at 5:18 AM, Kurtis Mullins > wrote: > >> On Sat, Jul 14, 2012 at 4:44 PM, Kakar