Hello, i ve deployed a django app in apache. the problem is that i works
for 5 minutes and then it stops responding.
--
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
how do you refer to the object in the template?
El martes, 10 de mayo de 2022 a la(s) 09:58:56 UTC-3, narsh...@gmail.com
escribió:
> You change the names of the pictures in the separate folder then copy them
> in a static folder then change the picture file names in the template
> folder then
Can you please show your urls.py file
On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com
wrote:
> someone to help me to set up urls of two different apps in django project
> please, i keep on getting errors
> am new
>
--
You received this message because you are subscrib
Hey!
I'm pretty much new to Django, so I cannot figure this out:
I have the home page and the way to post updates in my blog, but I want to
sort the posts into categories. Like sports, fitness, politics. But I want
to do it into two lists of multiple tabs, one horizontal and one vertical.
And
> File "", line 678, in exec_module
> File "", line 205, in _call_with_frames_removed
> File "/home/npantel/proxy_user/proxy_user/models.py", line 4, in
> class MyUser(User):
> File "/usr/local/lib/python3.6/dist-packages/django/db/models/base
etween the two frameworks. Moreover, they
work well with there proper testing/deployment/... tools.
Hope this helps
Pierre-Nicolas
Le lundi 16 octobre 2017 12:00:28 UTC+2, Roger Gammans a écrit :
>
> Hi,
>
> I'd certainly be interested in helping with such a project; as I cur
hi i am a bit used to python i have a mac coming with 2.7.6 version and
install 3.4 that i can use if i call
i installed with difficulties django 1.9
it came
there /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
don't ask me why
now i cannot import or work with
PLEASE SOME HELP
TH
hi everybody
i install with difficulties butdjango 1.9 on my imac
i am used to python
run on 2.7.6 coming with terminal but i also installed 3,4 version that
i call and use when i want
django came there library/frameworks/python
frameworks/version3.4/lib/python3.4/django
don't ask me wh
Take a look at the "{@ with @}" template tag in the documentation. Use {@
with myVariable=someValue @} ... {@ endwith @}.
NicoP
Le 23 oct. 2013 07:01, "Harjot Mann" a écrit :
>
> I want to initialize a varibale in django template from zero, which I
> want to comapre with the some job_no whihc is
Actually what's the best way for do a group by using django ORM?
I know workarounds like combinate "values" with "Anotate", etc. but I
wil like know your favorite workaround without rawSQL and not manager
based , only Django ORM ;-)
Example.objects.values('type').annotate(dcount=Count('type')) .
Here an example: https://gist.github.com/6625035
2013/9/19 Hélio Miranda :
> Good.
> I have my client application server, and was trying to send an id parameter
> via a post like this:
> $scope.deleteIMG = function(ID){
> $http({
> method: 'POST',,
> url: "http://localhost:8080/onpitch/delImagePla
Hi all,
I'm doing a web site where the users can upload some images. These images
are uploaded through django-storages [0] to Amazon S3. But it's taking too
long to uploaded these files.
There is a way where I can upload these images async?
Thank you in advance!
Nicolas.
[0] htt
up 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://grou
Hey guys!
Has anyone tried to run django + sqlite on a raspberry pi ? Any performance
issues ?
I'm about to start an app that provides a restful api and has to run on
RPI, it's going
to manage an automation service, so load is going to be pretty low.
Cheers.
--
Nicolas Emiliani
to present that and somehow, I do
not know how yet,
override the search method at the admin site.
Does it sound good?
Has anyone done this?
Is there another approach?
Any comments will be highly appreciated.
Thanks!
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo
web visit
> https://groups.google.com/d/msg/django-users/-/J0DJKVoy-wcJ.
>
> 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 options, visit this group at
> http://g
ps://groups.google.com/d/msg/django-users/-/x4UAl7Mc-w8J.
> 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 options, visit this group at
> http://groups.google.com/g
ups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
to display.
I'm starting
to think that maybe using a many-to-many field with a custom widget might
do the job.
> On Thu, Oct 25, 2012 at 3:51 AM, Nicolas Emiliani wrote:
>
>> Hi,
>>
>> As the subject states, is there a way to display a model formset in a
>> Mod
nly one profile class with an profile type attribute.
Nasty but it works.
>
> Thanks!
>
> --
> Nicolas Emiliani
>
> Lo unico instantaneo en la vida es el cafe, y es bien feo.
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received
):
class VerificationAdminForm(forms.ModelForm):
class VerificationAdmin(admin.ModelAdmin):
form = VerificationAdminForm
model = Verification
fieldsets = [ ... ]
Any ideas would be greatly appreciated.
Thanks in advance.
--
Nicolas Emiliani
Lo unico
On lun., oct. 22 2012, Nicolas Dandrimont wrote:
> #--8<{ fields.py }>8--#
> import netaddr
>
> from django.core.exceptions import ValidationError
> from django.db import models
>
> [...]
> def to_python(self, value):
> if
lude(pk=self.pk)
if same_ip:
raise ValidationError(u"Adresse IP en cours d'utilisation")
def __unicode__(self):
expire = u""
if self.expiration <= timezone.now():
expire = u", expire"
return u
it to create an AuditorProfile not even by
setting the agency
field on the form.
Any ideas what is going on? I'm clueless
Thanks!
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because you are subscribed to the Google Groups
nsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because you are subscribed to the Google Groups
&
ific group being able to change his own
objects permissions. It would be somewhat of field permission
over object permissions.
Any way to accomplish this ?
Thanks in advance.
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message becau
On Sat, Oct 6, 2012 at 4:41 PM, Nicolas Emiliani wrote:
> Hi,
>
> I'm implementing django-guardian within the admin site and I'm having the
> following issue.
> If I create a model instance through the admin panel and then try to
> modify it
> (even using the
= True
So now I can input for example:
5.000.000
but after saving it it shows
500
Any solutions besides doing some javascript tampering?
Thanks!
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because you are subscribed to t
ze() automatically adds the crsf_token which should
be contained in your form. This makes a lot easier to validate your form
via AJAX.
Cheers,
Nicolas Patry
On Monday, September 24, 2012 4:00:02 PM UTC+2, jondykeman wrote:
>
> +1 For doing it right from the beginning.
>
> I was tem
Hi,
I'm using a quite huge database with twenty thousand entries or more. At
the beginning, I used to sort it each time (.sort_by("my_field_name")) I
need the page but I saw that it took me lot of time to generate the page.
I'm looking for a solution, that allows me to show the data without sor
ngo-users/-/YvGlPmf_HtEJ.
> 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 options, visit this group at
> http://groups.google.com/group/django-users?hl
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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Nicolas Emiliani
Lo unico
age 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 options, visit this group
On Mon, Aug 27, 2012 at 10:51 AM, Axel Rau wrote:
>
> Am 27.08.2012 um 15:04 schrieb Nicolas Emiliani:
>
> >
> > Through JS, you need to implement a script that binds to the change event
> > and then changes the collapse css call for the specific div. You may wan
ta:
> db_table = u'mailbox'
> verbose_name = _('Mailbox')
> verbose_name_plural = _('Mailboxes')
> ordering = ['localpart']
> unique_together = ('localpart', 'localdomainfk')
>
web, there is a __LOT__ of info on this.
Vikas
>
> --
> 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
On Mon, Aug 27, 2012 at 3:54 AM, Melvyn Sopacua wrote:
> On 27-8-2012 1:21, Nicolas Emiliani wrote:
>
> > The thing is that the GridWidget.__init__ method does not get executed
> > each time I access the form that contains it, so if the queryset changes
> the
>
e queryset changes the
widget gets 'obsolete'.
Is this some cache issue ? is there any way to force the widget
construction each time i
access the form containing it ?
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because y
le 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 options, visit this group at
> http://groups.google.com/group/dja
d widget inheriting
> directly from MultiWidget?
> I think you would need to override the methods: __init__, render,
> decompress
>
Yes also,
>
> But I'm no expert ;-(
>
>
Well, you are closer than I am :)
Thanks for the help.
>
> On Sun, Aug 26, 2012 at 7:42 PM, Nic
what has been driving me nuts!
u'attrs': [ u'2'],
As you can see it only passes the id of the attribute, not the id and the
value. What I
need is something like
u'attrs': [ (u'2','500')],
Any ideas on how to fix this ?
Thanks!
--
Nicolas Em
tle','code','is_active')
> model = Adversite.image_many.through
>
> Please help me.
>
>
Well, this is just a guess, but you are setting the model in the form as
the through attribute of an M2M relationship
and that might the problem, have you tried explic
Hope it saves some headaches.
> --
> Nicolas Emiliani
>
> Lo unico instantaneo en la vida es el cafe, y es bien feo.
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received this message because you are subscribed to the Google Groups
"Djang
foo = ForeingKey(Foo)
value = DateField
Here I can store the value for the relationship when saving the Model in
the DB.
If anyone has a better solution, suggestion, comment or thinks this is
going
to make me rot in hell please let me know.
Thanks.
--
Nicolas Emiliani
Lo unico instantane
,n_name)
self.fields[' name '].initial = ' n_name ';
##END OF CODE
El jueves, 16 de agosto de 2012 15:37:10 UTC-3, Nicolas Ardison escribió:
>
> Hello guys, i can not find how to the following things.
> I have a form that it's not related with any model, and i wa
uot;name");
lastname = forms.CharField(label=" lastname");
def Loadname(self,n_name)
self.name.value = n_name; # I can not figure out how to do this.
##END OF CODE
Thanks in advice for your help people!
Nicolas Ardison
--
You received this message because you are subscribed to the Goog
On Sun, Aug 5, 2012 at 9:08 PM, Melvyn Sopacua wrote:
> Hi,
>
> On 6-8-2012 0:09, Nicolas Emiliani wrote:
>
> > I have three Models,
> >
> > Home, HomeAttributeType and HomeAttributeValue. HomeAttributeValue has
> > an FK to HomeAttributeType and one to Home.
&
an relate each HomeAttributeType to what they should
render to.
Since I have a variable number of HomeAttributeTypes, I need to set a
variable number of
hidden fields in the form. I was reading about FormSets but I can't find
the way to add one
to the ModelForm that the HomeAdmin is using.
On Sun, Aug 5, 2012 at 5:40 PM, Melvyn Sopacua wrote:
> On 5-8-2012 20:16, Nicolas Emiliani wrote:
> > Hi, I've been struggling with dynamic forms and until now I'm loosing the
> > battle :S
>
> > So, now I want the HomeAdmin to render all this stuff into the f
eAdminForm gets called
after
the constructor for HomeAdmin, so all the added fields are not there yet
when
HomeAdmin.__init__ is called.
Is what I'm trying do ok ?, Is there any way to fix this ?
Thanks dudes,
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien f
o unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You receiv
ail to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es
oups.google.com/d/msg/django-users/-/NM39pkUyvG4J.
>
> 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 options, visit this group at
> http://groups.google.com/gro
ps.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien feo.
--
You received
then the mandatory JavaScript code (jcrop, image_cropping.js & co) is not
loaded executed here. At least that's what a quick comparison between the
rendering of the Admin and the my frontend code shows.
Thanks in advance,
Nicolas
Le mercredi 4 avril 2012 23:16:34 UTC+2, Patrick
Hi,
so.. I have a TabularInline admin view that displays '+ Add another' and I
would
like to remove it, like can_delete = False but for the add option. sadly
can_add
doesn't exist, so how do I achieve this ?
Thanks!
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe
Hello, i was reading the Django documentation, and i have the following
trouble that i'm not sure if django can solve it. I have a application
called "userArea" and i want to extend that app with more app isolated from
the "main" apps.
[DjangoProject]
[APP1]
[subAPP1]
[subAPP2]
[APP2]
Co
ook crear how ?
Anyone knows some open source project that implement this to see the code?
or some doc/tutorial/blog entry to read?
Thanks guys =)
Nicolas Ardison
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion
On Sunday, July 15, 2012 6:16:42 PM UTC-3, Nicolas Emiliani wrote:
>
> Crap, hit the send key, there it goes. Sorry.
>
>
> Hi!
>>
>> I'm trying to override the AdminFileWidget with no success. The idea is
>> to get a thumbnail
>> next to the uploaded
because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/pI8qXk50AaEJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this gro
.)
>
>
Yes, you are right, but you are clearing the date, the thing
is that I don't want to clear it. That's why I thought of having
an attribute in the model that does not render in the form,
that would allow me to keep the previous state unchanged
and use that in my logic.
>
I know if he
is republishing or he modified some other field that has nothing to do with
that attribute ? I would be
republishing only if it's previous state was not published. But how can I
acces that previous state ?
Sounds waky :P
> On Sun, Jul 15, 2012 at 1:49 AM, Nicolas Emiliani
3
fieldsets = [
(None, {
'fields' : [
('image','description','name','height','width'),
]
}
),
]
But the widget still shows itself as the AdminFileWidget, A
Hi!
I'm trying to override the AdminFileWidget with no success. The idea is to
get a thumbnail
next to the uploaded files in a tabular view of the admin site. I did the
following :
class AdminImageWidget(AdminFileWidget):
def render(self, name, value, attrs=None):
--
Nicolas Emilian
e (lat,long) that belongs to the user position yo can then ask for a
radius in blocks, meters o whatever.
So, now you can get the surface of a circle and with some basic math you go
through your db checking if any artist
are inside the limit of that circle.
> Thanks so much!
>
> JJ
&g
ost 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 options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Nicolas Emiliani
Lo unico
e save button on the admin form ? or should I
use a second model
attribute and hide it on the form to keep the previous state ? is there a
"Django" way to do this ?
It's my first post, be gentle :P
Thanks !
--
Nicolas Emiliani
Lo unico instantaneo en la vida es el cafe, y es bien
criteria for this to understand it better please?
--
Nicolas Valcárcel
Gerente IT / CTO
Celular: (511) 976 330 707
--
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.
T
perso/myApp/alpha/myApp/../myApp/myAppFront/regbackend.py"
in user_created
10. data.save()
Do i have to conf the date input format of django registration ?
In order to test my date_input_format conf, i created an empty form with
one dateField, i submited it and print the cleaned_data valu
I looked at my code in order to notice diffs.
You should add return new_user() after your new_profile.save()
On Mon, Mar 5, 2012 at 11:54 AM, Stanwin Siow wrote:
> Greetings,
>
> How do i save a user's profile into the database once i entered the
> details in my custom registration form?
>
> Al
Hi everyone,
Thanks to you i found the problem. My template folder was conf via my
settings.py outsite my project folder.
So when i typed python manage.py makemessage -l django didn't
parse my settings py in order to find the templates.
Now everything is ok
Thx to you :)
Nicolas
On Tue, F
nd all the strings i wanted to translate are between {%trans
"myStringToTranslate" %}
Is the fact that my /template folder is not in the same path than m apps
may be a problem ?
On Mon, Feb 27, 2012 at 10:58 PM, Denis Darii wrote:
> Hi Nicolas.
> Try to run makemessages script
s'
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'registration',
'mySUPERAPP',
'debug_tool
my project :| ...
Nicolas
On Mon, Feb 27, 2012 at 10:14 PM, Diego Schulz wrote:
> On Mon, Feb 27, 2012 at 5:45 AM, nicolas HERSOG
> wrote:
> > Hi everyone,
> > Very thanks for yours answers!
> >
> > I added to the top of all my html files {% load i18n %} and typed in
none of
this command work :/
Any more tips or advices ?
Very thanks for your help :)
Nicolas
On Mon, Feb 27, 2012 at 8:24 AM, Ian Clelland wrote:
>
>
> On Sunday, February 26, 2012, nicolas HERSOG wrote:
>
>> Hi folks !
>>
>> I'm trying for hours to internat
mething wrong, or miss something ?
Thank you :)
Nicolas
--
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...@
On Feb 13, 9:27 pm, Shawn Milochik wrote:
> On 02/13/2012 03:25 PM, Nicolas Bazire wrote:
>
> > On Feb 13, 9:16 pm, Shawn Milochik wrote:
> >> You can override and customize the forms, then manually add the unique
> >> indexes to your database.
>
> > O
On Feb 13, 9:16 pm, Shawn Milochik wrote:
> You can override and customize the forms, then manually add the unique
> indexes to your database.
Overriding the forms is only part of the problem.
For instance, forms are not used with Model.objects.create().
I want to enforce such constraints and not
" mandatory and
unique, how can I code that?
I was able to implement such "custom constraints" using pre_save
signal or a Proxy model, but I'm not really sure that either of those
implementations are a good choice.
Nicolas
--
You received this message because you are subscribed
:59 PM, Ezequiel Bertti wrote:
>>
>>> pycharm +1
>>>
>>>
>>> 2011/12/19 Lexa Po
>>>
>>>> SublimeText2
>>>> +1
>>>>
>>>> 19 декабря 2011 г. 15:47 пользователь nicolas HERSOG <
>>>
I'm using Aptana
On Mon, Dec 19, 2011 at 1:37 PM, Anoop Thomas Mathew wrote:
> Hi,
>
> PyCharm is awesome!!! But is paid ($70) and not OpenSource.
> Best among the free is Aptana Studio.
>
> Thanks,
> Anoop Thomas Mathew
>
> atm
> ___
> Life is short, Live it hard.
>
>
>
>
>
> On 19 December 201
English please
2011/11/9 jose osuna perez
> Hola, bueno les explico mi problema, tengo 1 tabla que tiene el
> siguiente modelo:
>
> class Proyectos(models.Model):
>titulo=models.CharField(max_length=100)
>creacion=models.DateField(default=datetime.datetime.now)
>estado=models.CharFie
Can you show us your script and how you launch it ?
On Wed, Nov 9, 2011 at 9:27 PM, Alfredo Alessandrini
wrote:
> Hi,
>
> I'm running a script to make a query with django.
>
> I need to run it in crontab.
>
> When I run it I get this error:
>
> ImportError: No module named profiles
>
> I'm using
Ok, thanks, it works. I tried different paths but not the one without
"admin" at the end, while the doc is clear about that...
Anyway! Thank you.
Best
On Nov 8, 5:56 pm, Tom Evans wrote:
> On Tue, Nov 8, 2011 at 4:46 PM, Nicolas wrote:
> > Dear all,
> > I'm alm
gs file is not correctly
configured but I don't see why.
Any help will be appreciated.
Best
-nicolas-
--
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
Hi,
Thanks for your messages. The problem was indeed some missing commas
after 'ENGINE': ' ' and 'NAME': ' '
Best
-Nicolas-
On Nov 1, 6:32 pm, Sandro Dutra wrote:
> 'NAME': 'C:/Users/songbird/Desktop/bdd/' # Or path to database
e 15
'NAME': 'C:/Users/songbird/Desktop/bdd/' # Or path to database
file if using sqlite3.
^
SyntaxError: invalid syntax
I'm on windows 7.
So, my question is simple: what am I doing wrong?
Thanks a lot in advance.
Best
-Nicolas-
--
You received this messag
icle,
name='article'),
AND, you'r right, i didn't use the name i defined (here 'article') in my
redirection.
Thx you Tom :)
On Mon, Oct 24, 2011 at 5:52 PM, Tom Evans wrote:
> On Mon, Oct 24, 2011 at 12:34 PM, nicolas HERSOG
> wrote:
> > Hi every
uot;-dateComment")
date = datetime.datetime.now()
c = Context({
'article' : article,
'commentaires' : commentaires,
'now' : date,
})
form = CommentForms()
c['form'] = form
return render_to_response('myAppFront/article.html', c,
contex
Hi everyone,
I'm stuck with the redirection in django.
This is my url.py
(r'^article/(?P\d+)/$', 'myapp.myappFront.views.article'),
(r'^article/(?P\d+)/addComment/$',
'myapp.myappFront.views.addComment'),
I developed a little view in order to add comment to my article, this is my
view.p
You can also type python manage.py sqlall and copy paste sql
instructions in your bd
On Fri, Oct 14, 2011 at 11:23 AM, Chen Xu wrote:
> Hi,
> I am new to Django.
> I have installed Django and go t everything set up correctly, just started
> some easy tutorials.
>
> So when I do
> Django-admin.p
omg, I'm so ashamed...
I use {% csrf_token %} and it works,
Thx :)
Nicolas
On Sun, Sep 11, 2011 at 2:52 PM, DrBloodmoney wrote:
> On Fri, Sep 9, 2011 at 12:02 PM, Brett Hutley wrote:
> > You need to add it to the registration_form.html as well.
> >
&g
Hi All !
Do any of you use this app
https://bitbucket.org/ubernostrum/django-registration/overview with the csrf
middleware ?
Instead of re-write myself the registar, check via email, lost password,
login and co i tried to use this app, but it don't work and i have this
message :
Forbidden (403)
Oh I see,
I've just modified my code with new import but i still have problem to
submit my form. I don t have any errors but i can't pass the
form.is_valid().
It's my first form so i don t know how to do it. Can you (again) help me ?
Here it's my forms.py :
from django import forms
from django.c
Humm, maybe you should right, here is my views.py :
from django.template import Context, loader, RequestContext
from myApp.models import Article, Commentaire
from django.http import HttpResponse
from django.contrib import auth
from django.contrib.auth import authenticate, login, logout
from django
Hi everyone,
I tried few thigs more but it s still don't work.
this is my new template :
{% csrf_token %}
And my view :
def vod(request, id):
article = Article.objects.get(id=id)
commentaires = Commentaire.objects.filter(article=article.id
).order_by("-dateComment")
c = Context({
'article'
How did u solve it ?
On Fri, Jul 29, 2011 at 11:17 AM, jaspreet kaur wrote:
> My problem is solved
>
> --
> 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 fro
bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
> On Jul 28, 9:03 am, nicolas HERSOG wrote:
> > In my tag folder i have __init__.py __init__.pyc myTag.py et myTag.pyc
> which
> > is empty
>
> Err... is this actually 'myTag.py' or 'temp_tags.py
In my tag folder i have __init__.py __init__.pyc myTag.py et myTag.pyc which
is empty
On Thu, Jul 28, 2011 at 9:02 AM, nicolas HERSOG wrote:
> Did you create an empty file __init__.pyc in your tag folder ?
>
>
> On Thu, Jul 28, 2011 at 8:51 AM, Showket Bhat
> wrote:
>
Did you create an empty file __init__.pyc in your tag folder ?
On Thu, Jul 28, 2011 at 8:51 AM, Showket Bhat wrote:
> Thanks For ur Assistance.. But That Dosen't Helped me... Need Some
> Other Solution..
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django
1 - 100 of 227 matches
Mail list logo