Re: How to show list only in admin?

2013-03-10 Thread jrief

in your admin class, add


class MyModelAdmin(ModelAdmin): 

def has_add_permission(self, request): 

return False 


def has_change_permission(self, request): 

return False

etc.

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django Shopping Cart

2013-03-10 Thread jrief
Have a look at https://www.django-cms.org/en/e-commerce/

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




MultipleFileField

2013-03-10 Thread Ariel Calzada

Hi!

I have a model Person with the fields = name, lastname, papers ( 
many2many field of the model Paper ) and a model Paper with fields = 
title, file


I want in a ModelForm of Person let user insert many papers. I've been 
trying with a django app that implements a new MultiFileField without luck.


Any suggestion or help will be appreciated.

Regards,
ARIEL

--
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: MultipleFileField

2013-03-10 Thread Shawn Milochik
https://docs.djangoproject.com/en/1.5/topics/forms/modelforms/#inline-formsets

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django Shopping Cart

2013-03-10 Thread Sandeep kaur
On Thu, Feb 28, 2013 at 2:32 AM, vijay shanker  wrote:
> hey, i want to write a shopping cart app, please provide some inputs, useful
> information, suggestions etc for doing it right .

Have a look at this too.
https://github.com/bmentges/django-cart

-- 
Sandeep Kaur
E-Mail: mkaurkha...@gmail.com
Blog: sandymadaan.wordpress.com

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: MultipleFileField

2013-03-10 Thread Ariel Calzada
Inline formset only work with Foreign but not with Many2Many

2013/3/10 Shawn Milochik 

>
> https://docs.djangoproject.com/en/1.5/topics/forms/modelforms/#inline-formsets
>
> --
> 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@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Ariel Calzada
Homepage: http://www.000paradox000.com
Blog: http://blog.000paradox000.com

"If I had asked people what they wanted, they would have said faster
horses."

 -- Henry Ford

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-10 Thread Pratik Mandrekar
Hello,

I'm trying to figure out what would be the best way to integrate django 
with ember.js/backbone from the user authentication point of view. I'm 
using Tastypie for creating RESTful resources.

I have no problem creating APIs once a user has been authenticated using 
the Session based authentication but I am wondering what is the best 
RESTful way to create  a user authentication API that can confirm to 
Session based authentication.

Also if I'm not mistaken the right way to authenticate the client is via 
the API key authentication right?

Thanks,
Pratik

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Survey : Theme for Django admin interface

2013-03-10 Thread Emiliano Dalla Verde Marcozzi
2013/3/10 Venkatraman S 

> Hi,
>
> Was wondering if there are *paid* takers for themes for the django-admin
> interface. I know there are a few that exist already but am not quite happy
> with them.
>
> I can definitely spend a few days/weeks and develop some nice looking
> ones, but wanted to check if people are really looking for some fresh air
> or not, and are ready to pay for it :)
>
> And well, i do not intend to price it more than 40$ per theme(or less than
> that!). Non-commercial+personal usage would be free, obviously; and all
> this being CC licensed.
>
> Regards,
> Venkat
>
> --
> 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@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

I was looking for this, but didnt find anything. i think it can have a
great market, something like
this web:
https://wrapbootstrap.com/theme/unicorn-admin-template-WB0F35928
For me, a reasonable price is 20USD but well, if the theme affords it i
think i would do the effort
and pay the 40 USD,
Regards,
Emiliano.


-- 
"Code without tests is broken by design." - Jacob Kaplan-Moss
Show me the mone ... code!: https://bitbucket.org/edvm

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Survey : Theme for Django admin interface

2013-03-10 Thread Venkatraman S
On Mon, Mar 11, 2013 at 3:49 AM, Emiliano Dalla Verde Marcozzi <
e...@fedoraproject.org> wrote:

>
> I was looking for this, but didnt find anything. i think it can have a
> great market, something like
> this web:
> https://wrapbootstrap.com/theme/unicorn-admin-template-WB0F35928
> For me, a reasonable price is 20USD but well, if the theme affords it i
> think i would do the effort
> and pay the 40 USD,
> Regards,
> Emiliano.
>
>
Yes, i might as well give it free depending on the mood of the day :)
I have started working on it

-Venkat

-- 
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@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




How to display large data by scrolling html page using python and django?

2013-03-10 Thread Avnesh Shakya
hi,
 i have stored data in database,but it has large data,so it's showing
only 20-25 rows of data on html page. I want to show all data using
scrolling. how is it possible?
Please help me
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-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.