Django administration page, created a Site -- now what?

2011-05-06 Thread Boštjan Mejak
Hello, I have created a new Site in my "Django administration" page. How can I use it now? If I visit the URL that this newly created Site points to, I get a URLconf error. So what do I need to add to my project's urls.py file? A newbie here. Please help me on this. Thanks. -- You received this

Re: Django administration page, created a Site -- now what?

2011-05-07 Thread Boštjan Mejak
Thank you for your answers. I'll go read the docs then. ;) -- 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..

Re: How to use CreateView?

2011-05-09 Thread Boštjan Mejak
What if you add the dot to action, like above? What does that mean? And note that my form method is get. Anyone knows about what the dot does? -- 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@go

Re: QUESTION

2011-05-09 Thread Boštjan Mejak
Don't do it like that. Do it like this: *manage.py* runserver -- 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+unsubsc

Re: Can't Test Apps Without Models?

2011-05-09 Thread Boštjan Mejak
You must create a tests.py file in your project's directory. Have your tests in that file. I am not sure on that one, but try. -- 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

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
Well, the best choice is GPL v3. And the fact that you use GPL license, you must provide the source code of your application as well. That I know is true for GPL. Why would you use BSD license I don't know. You could also use the MIT license. By having this MIT license, you don't supply the source

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
What do you guys think about the MIT license? In what particular case would I be needing an MIT license? -- 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

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
By using an MIT license, is your software's source code protected by means of not needing for you to provide it to the whole world? -- 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.co

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
So if I want to create a software for which I don't want to give the source code to the world, I use the MIT license and I am fine? Also, which particular BSD license is similar to the MIT license in the means of not needing to give the source code? -- You received this message because you are su

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
For example, the CCleaner GUI application provides only the setup (so the binaries) of the application. They don't give the source code of it. If I wanted the same thing with my app, is the MIT license the right choice for me? -- You received this message because

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
bobhaugen, your link https://github.com/pinax/pinax/blob/master/LICENSE is an MIT license. -- 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 e

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
What I want to know is... Must I supply the source code of my application along with the binaries if using the MIT license? P.S.: What does OT stand for? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
This is getting way out of hand. I was hoping for a simple yes/no answer. And what I got? A bunch of yada yada. Can't you people just express yourself by saying yes or no? Is it *that* hard? Okay now... I made a Django application called MyWiki (yes, it's a little simple wiki application). I don't

Re: Re : get_absolute_url method breaks under 1.3 but works with 1.2.5 and many major and minor versions prior

2011-05-13 Thread Boštjan Mejak
Define get_absolute_url in models.py that is a file in your application's directory. from django.db import models class MyModeName(models.Model): # Add field names here like --> name = models.CharField(max_length=20, primary_key=True) def __unicode__(self): # Well, you don

Re: How to choose a license for an app or a project?

2011-05-13 Thread Boštjan Mejak
Where to put my license? In a file or in all the modules? I'll use MIT license. Do I need to disclose the source code? -- 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 unsubsc

Re: How to choose a license for an app or a project?

2011-05-14 Thread Boštjan Mejak
So if I use the BSD license as Django does, do I need to (according to this license) disclose my source code or not? Which BSD license is Django using anyway? Clause 3? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: How to choose a license for an app or a project?

2011-05-14 Thread Boštjan Mejak
Say I create an app in Python and wxPython (a Python GUI framework). And then I upload my installation binaries (binaries created with py2exe and setup made with Inno Setup) to, say, Google Code. I don't want to dislose my source code. I just want my users to download the setup program and use my p

Re: How to choose a license for an app or a project?

2011-05-15 Thread Boštjan Mejak
What if I choose GPL v3 but I don't provide the source code of my application? Is that against the GPL v3 policy? -- 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

Re: Is there an HTML editor that's Django-aware

2011-05-20 Thread Boštjan Mejak
Use Komodo Edit. It's free and it is the best source code editor on the planet. -- 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 dj

Re: CRUD Tutorial

2011-05-24 Thread Boštjan Mejak
What does CRUD stand for? Is it Create Read Update Delete? -- 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..

Re: CRUD Tutorial

2011-05-24 Thread Boštjan Mejak
I created a wiki in Django. I can send you the source if you're interested. -- 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

Re: Weird Error when following django book?

2011-05-25 Thread Boštjan Mejak
HTML source code can't be passed as a string. You morons. -- 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...

Re: How to I create download link of some file using django

2011-05-26 Thread Boštjan Mejak
Fix some_file = open('bla/bla/bla/', "rw")tosome_file = open('bla/bla/bla/', "r") Fix that "rw" to just "r". You just want the user to read (a.k.a. get) the file, not have write access to it. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Is there an HTML editor that's Django-aware

2011-05-26 Thread Boštjan Mejak
Well, Komodo Edit does support Django syntax but it has some issues with Django template tags. Specifically, as I have tested anyway, the block tag is kind of a mistery to Komodo Edit, but that'll probably get fixed in the next version. So I strongly encourage you to use Komodo Edit. Other editors

Re: Is there an HTML editor that's Django-aware

2011-05-26 Thread Boštjan Mejak
Vim is a piece of shit. -- 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 option

Re: Is there an HTML editor that's Django-aware

2011-05-26 Thread Boštjan Mejak
> > Sent from my BlackBerry wireless device from MTN MTN? -- 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..

Re: Is there an HTML editor that's Django-aware

2011-05-26 Thread Boštjan Mejak
What does the MTN stand for? -- 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 o