hi guys, im new with django, but im developing a website ... i hope
that somebody help me with this problem:
how ill generate some code in the django admin and show this code in
input and save in database?
the problem is that i need to generate some code (like a tracking
number) when the user s
Hi guys, im new with Django, i want to know how ill add a email field
to the registration form from the User model.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Hi guys, im trying to use the django-registration...im new with
django, but i was thinking that maybe some templates are missing, like
registration, login... i cant found ..but i dont know if i need to
create the templates...
Some help?
Thanks
--~--~-~--~~~---~--~
ok, ...there no exist's
:(
--~--~-~--~~~---~--~~
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
dja
Hi guys, im trying to use the login and logout functions of Django,
but my @login_required() dont work, dont redirecto to the login form
and show the view where the user need to be logged...
VIEW
from django.shortcuts import render_to_response, get_object_or_404,
Http404
from django.contrib.auth.
hi, guys,
how ill make a html text field with attr disabled?
Thanks
--~--~-~--~~~---~--~~
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
Hi, guy, i have a problem trying to save "datetime" in mysql.
the problem is that mysql dont need milliseconds in the datatime
field...
how ill send datatime in format "2009-12-12 1:25:30" without that
python and Django say: Enter a valid date/time in -MM-DD HH:MM[:ss
[.uu]] format ??
it the solution or what's
> giving the error ?
>
> I've tried your example and it works fine.
>
> Try to look for answers in django.db.fields.__init__ in DateTimeField class
>
> Frédéric
>
> 2009/7/25 Asinox :
>
>
>
> > Hi, guy, i have a problem
Hi guys, i have a problem with ModelForm, the problem is that in the
user private area there is a Form (ModelForm), but in this Form i have
a Select, this select show the parent articles , so the problem is
that the Select show all parent articles, from all users
How ill just show the parent
Hi guys, well.. i dont know what this mean :
'_CheckLogin' object has no attribute 'objects'
any idea?
thanks
in my views.py
from django.shortcuts import render_to_response, get_object_or_404,
Http404
from django.conf.urls.defaults import *
from django.template import RequestContext
from djang
view is "Dpatas", then you attempt to later call
> "Dpatas.objects.filter()" as if Dpatas was a model. The _CheckLogin is
> coming from your use of the @login_required decorator I would imagine.
>
> Hopefully that helps,
>
> Dan
>
> On Jul 25, 8:16 pm, As
The icons :
site-packages\django\contrib\admin\media\img\admin
:)
On Jul 25, 1:46 pm, Margie wrote:
> Thanks Alex - I will check those out. But if anyone knows where the
> admin icons came from, I'd still love to know ...
>
> Margie
>
> On Jul 24, 4:01 pm, Alex Gaynor wrote:
>
>
>
> > On Fri
im new , but i think that u need this part:
class UserProfileAdmin(UserAdmin):
inlines = [UserProfileInline]
list_display = ('user', 'sex','phone')
regards,
On Jul 28, 3:01 pm, Chris Curvey wrote:
> I'm having a bit of a brain cramp here...I'm trying to add some extra
> fields to my
Hi guy, im looking for the simpley if ...else if but i cant see
in the django documentation
Thanks :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Hi guys, first im so sorry with my english, im new with Django, u
know ;)
I have a problem with a related_name, the tables are fine, but the
problem is that in the Select (DropDown) the data display is "bad", in
this way: Tarifas_object:
Html code:
Tarifas object
how ill display the correct
Hi guys, i cant find a example about how ill save data in two or more
tables... somebody help me please
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email t
6:23 PM, Asinox wrote:
>
> > Hi guys, first im so sorry with my english, im new with Django, u
> > know ;)
>
> > I have a problem with a related_name, the tables are fine, but the
> > problem is that in the Select (DropDown) the data display is "bad",
Well im talking about save a form yes, but in the same moment i want
to save x data in another table, for example, i want to generate some
"key" while im saving the form data, but i want to save the "key" in
another table.
Thanks
On Jul 29, 8:52 pm, mike wrote:
> On
Thanks a lot Mike, very nice help, you example helpe me with another
thing :) good!!!
now, when i said "key" (sorry!!) i want to say "some code like an
encryption key, and random number, etc".
im reading the django help and i cant find any topic about this part
(how make query than affect two or
Thanks, i did it, i dont know if in the best way but im saving data in
two tables :) thanks :)
On Jul 30, 12:47 am, Asinox wrote:
> Thanks a lot Mike, very nice help, you example helpe me with another
> thing :) good!!!
>
> now, when i said "key" (sorry!!) i want to
hi guys, i want to encrypt the "datetime.now()" , im try with base64
but base64 need string... how ill encrypt ?
Thanks :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
Thanks a lot guys :)
--~--~-~--~~~---~--~~
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-user
Hi, guys, how or where is the "join" query in Django?
i think that Django dont have "join"..but how ill make join?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Thanks Malcom for replay, but, is not working for me, i think that is
simple just .filter("field1__field2"), but i cant make the join i try
with .filter("field1__field2") where the field1 is the PK and the
field2 is the FK.
here is my query:
p = Diligencia.objects.filter(Q(socio=request.user.id)
Hi guys, somebody know how ill use a extra function in any form
processing in the Django admin?, the problem is that i need to
generate a encrypted code in the moment that a form is sendinga and
save the code in the database in the user's account panel i did
it... but i dont know how ill make
Sorry krylatij, im new with django,
i will try :)
thanks
On 4 ago, 11:22, krylatij wrote:
> Why do you need admin here?
> You can generate it in the save() method of your model.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
Hi guys, i need a litter help, i know that if i want a Form from Model
i need to use ModelForm, but im lost with something... i have a view
that render a Form (ModelFrom) and save this, but now i need to use
the funcion SAVE in the Model (for use in the admin)... but im
lost... bcz in the view f
Hi guys, please i need to know why md5 return this:
the way that im using:
def encriptar():
toEncode = pickle.dumps(datetime.now)
encoded = md5.new(toEncode)
return encoded
Thanks
--~--~-~--~~~---~--~~
You received this message because you are su
don't work. i know that im lost with overriding the Save()
function, bcz i dont know where exactly ill put this, im reading
django doc's a lot, but im lost with this part.
Thanks
On Aug 6, 2:00 pm, Daniel Roseman wrote:
> On Aug 6, 6:38 pm, Asinox wrote:
>
>
>
>
>
Thanks Alex Gaynor :) is working :)
On Aug 6, 1:57 pm, Alex Gaynor wrote:
> On Thu, Aug 6, 2009 at 12:55 PM, Asinox wrote:
>
> > Hi guys, please i need to know why md5 return this:
>
> >
>
> > the way that im using:
>
> > def encriptar():
>
Thanks guys :)
On Aug 6, 2:32 pm, James Bennett wrote:
> On Thu, Aug 6, 2009 at 1:16 PM, Asinox wrote:
> > Thanks Alex Gaynor :) is working :)
>
> It's very important to note that the documentation for this module
> would have given you the same information. In general
Well, i cant find any about it, i want to know if the pagination exist
in the admin... i think that "yes"..but .. i cant see any thing
about..
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
oh man :) thanks :) so easy :)
On Aug 6, 10:55 pm, "Adam V." wrote:
> ModelAdmin.list_per_page will let you control how many items appear on
> a particular admin
> list:http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contri...
>
> On Aug 6, 7:50 pm, Asin
Hi guys, in django admin the views that show the register's just have
a link to "edit", but what happen if a need an extra(S) links to
another views?
for example:
i have view that my show list of registered People, the nick is
linking to the Edit page (the normal way of Django), but i need
anoth
No body? :(
On Aug 7, 2:11 am, Asinox wrote:
> Hi guys, in django admin the views that show the register's just have
> a link to "edit", but what happen if a need an extra(S) links to
> another views?
>
> for example:
>
> i have view that my show list of regi
Hi guys, i dont know from where is coming this error... but two hours
ago all was working fine... but know when i try to delete a user from
the Django Admin i got this error:
TypeError: coercing to Unicode: need string or buffer, User found
Somebody know why?
complete error code:
TypeError at
Hi, im Asinox, im a php user , CodeIgniter Framewor user, but i want
to test something different to PHP, so why not Python.
But i have a litter problem, im using window with WAMP, my python path
is : E:\wamp\bin\Python25\, my Django installation is: E:\wamp\bin
\Python25\Lib\site-packages\django
Hi guy's, im new with Python and Django, well im learning Python using
Django... im php user and CodeIgniter Framework, so i want to know
something about admin generator...
What i need to make a User Panel (user will write article, upload
pictures, etc) ? or the samen Admin Generator will help me
Hi guy's i want to know how pass request.user to my Form Wizard?, any
idea?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
Check this
http://stackoverflow.com/questions/7650893/serving-static-files-on-my-own-server/7651021#7651021
On Oct 4, 4:14 am, Mike Dewhirst wrote:
> On 3/10/2011 10:00pm, Gelonida N wrote:
>
> > On 09/26/2011 10:21 PM, nara wrote:
> >> I am having trouble getting STATICFILES to work. I have re
40 matches
Mail list logo