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
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
>> networking site. Or s
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 sub
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 django-u
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 t
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 one of your arguments
link = link
> )
>
> To this:
> Bookmark.objects.get_or_create(
> user = request.user.id,
> link = link
> )
>
> Sent from my Windows Phone
> ------
> From: Kakar Arunacha
ngo\db\models\fields\__init__.py" in
get_prep_value
555. return int(value)
Exception Type: TypeError at /save/
Exception 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 wrot
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.
lin
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 wrote:
> On Friday, 12 July
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(
username=form.cleaned_data['usern
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.
>
>
&
x27;, {'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 regard
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
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: https://docs.djangoproject.com/
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 subscribed
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.
>
> An
Thank you Sanjay!
On Sun, Jul 7, 2013 at 4:08 AM, Sanjay Bhangar 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, even after i added {%
>> c
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 %}
{% csrf_to
thank you much! That did solved the problem!
On Sat, Jul 6, 2013 at 7:15 PM, Black9design.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 AM, Kakar Arunachal Service <
> kak
e 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 napsal(a):
>
> > Hi,
> > I am having trouble with redirecting the login page to index page. Please
> > guide
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 %}
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 email
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 django-
Thanks Rafael!
On Wed, Jul 3, 2013 at 12:08 AM, Rafael E. Ferrero wrote:
> https://code.djangoproject.com/wiki/DjangoAndNginx
> http://wiki.nginx.org/DjangoFastCGI
>
> its a start. ;)
>
>
> 2013/7/2 Kakar Arunachal Service
>
>> Can you please suggest any good tu
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 django-users+unsubscr...@googlegr
Thanks a ton! :D
On Tue, Jul 2, 2013 at 9:13 PM, Deepak Sharma wrote:
> On Tue, Jul 2, 2013 at 9:05 PM, Kakar Arunachal Service
> wrote:
> > I am really confused here Can i change the admin url??? Or does it always
> > have to be
> > "www.example.com/admin"
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
>
>> Hi,
>> I am very confused with these two. I know about apache,
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 emai
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 gro
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/
>>
>
> +1
>
>
>
>>
>> On
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 from
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 work in windows. if
> you
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.
>
>
> not sure if it counts as "voluntarily", bu
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 django-users
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:
>
>>
rver 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 wrote:
>
>>
>> On 31 May 2013, at 13:11, Kakar Arunachal Service wrote:
>>
>> > H
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
thanks It worked pretty well!
On Sun, May 26, 2013 at 6:47 AM, Drew Ferguson wrote:
> On Sun, 26 May 2013 06:14:11 +0530
> Kakar Arunachal Service wrote:
>
> > Sad, i'm on windows! So, can u tell me how to view the tables that i
> > created after syncdb django i
> Kakar Arunachal Service 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 maybe?
> >
>
> Is this what you are looking for?
>
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
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.
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 em
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
t
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 django-users+unsubscr...@googlegr
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 grou
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 from
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
admin.py
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 admin.p
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 be
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 r
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 r
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 Apache). This means
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 dev
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 variety of
> templates
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
>>
>> I'm very new to this Phyton and i just downloaded dja
56 matches
Mail list logo