Use devops for setting up cron jobs as part of the deployment process. You
could also use something like https://apscheduler.readthedocs.io/en/3.x/ if
you wanna something OS independent.
El lun, 23 oct 2023 a las 7:08, Mike Dewhirst ()
escribió:
> Django docs suggest cron or Windows scheduler
Bom Dia,
Estou usando o django, e preciso trazer como informações que não há banco
de dados para renderizar no index.html, mas esta apresentando erro…
(env) PS E:\crudpython> & e:/crudpython/env/Scripts/python.exe
e:/crudpython/core/views.py
Traceback (última chamada mais recente):
Arquivo
Boa tarde amigos!
alguém pode me ajudar?
esta aparecendo este erro!
cannot assign to literal
o meu codigo é este:
def form(request):
data = {}
data = ['form'] = CarrosForm()
return render(request, 'form.html', data)
--
You received this message because you are subscribed to the
Such as others have said, you should remove ```auto_now=True```, after
that, you cant forget to run ```makemigrantions``` and ```migrate```
Em terça-feira, 23 de fevereiro de 2021 às 03:04:24 UTC-3,
bhurk...@gmail.com escreveu:
> Hello everyone,
>
> I am trying to select the custom date but
Not looking for a general intro to geodjango, but rather what I asked.
Thanks anyway.
Saludos,
*Rodrigo Culagovski*
Director
+569 7667 0402
H98R+8C Santiago
On Fri, 20 Nov 2020 at 17:55, Dhruvil Shah wrote:
> I don't think. so, it's basic project on how to use it and also find
> di
Great, thanks.
Saludos,
*Rodrigo Culagovski*
Director
+569 7667 0402
H98R+8C Santiago
On Fri, 20 Nov 2020 at 18:26, Mohammed Alnajdi wrote:
> Yes it does. It connects to the Esri WMS. if you actually read the docs
> enough you will find it.
>
> On Fri, Nov 20, 2020 at 9:3
Does it connect to ESRI services? I can't find any reference to that in the
video, and that's what I specifically need.
Saludos,
*Rodrigo Culagovski*
Director
+569 7667 0402
H98R+8C Santiago
On Fri, 20 Nov 2020 at 15:43, Dhruvil Shah wrote:
> You can follow this YouTuber he has m
Does it connect to ESRI services? I can't find any reference to that on
their site, and that's what I specifically need.
Saludos,
*Rodrigo Culagovski*
Director
+569 7667 0402
H98R+8C Santiago
On Fri, 20 Nov 2020 at 14:37, Mohammed Alnajdi wrote:
> You might want to check out the GeoN
I'm developing a mapping website. I will be consuming map layers from ESRI
Online. I see they have a fairly sophisticated Python API. The site will be
django based. I wonder how easy it would be to use GeoDjango for local
storage and editing of geographical data as well as other, not
Applying dataload.0001_initial...Traceback (most recent call last):
File
"/home/rodrigo/Workspace/fgv/sacvbackend/src/venv/lib/python3.8/site-packages/django/db/backends/utils.py",
line 86, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.UndefinedObject: constr
>
> I got it!
>
There were a typing error.
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-users+unsubscr...@googlegroups.com.
To view
Hi, I'm starting in django and learning about the tutorials.
After I have been created and set up, when I run the server the shell show
me a error
Someone can help me? Than you!
C:\Users\carva\mysite>python manage.py runserver
Watching for file changes with StatReloader
Performing system
FIRST_COMPLETED,
)
finally:
self._pop_message_waiter = None
In websockets/protocol.py line 410 and ss, `self.trasfer_data_task` is
`None`. If I remove it from the wait list it seems to work.
Any ideas?
Thanks in advance, Rodrigo
--
You received this message because you are subscribed to the Goog
saludos. soy nuevo en el increible mundo de la programacion, primero
comence leyendo mucho y me gusto python., asi que lo instale ( la version
3.6.5.)
y me gusta mucho dibujar asi que me incline para hacer diseño de paginas
con django. si no es mucha molestia me podrian ayudar a instalar el
Try:
pip install mysqlclient==1.3.4
and if this command does not work, try it:
pip install --only-binary :all: mysqlclient
Att.,
Rodrigo de Oliveira
On Thu, 6 Sep 2018 at 09:04, Rodrigo Zayit wrote:
> Have you installed MySQL?
>
> Att.,
> Rodrigo de Oliveira
>
>
> On
Have you installed MySQL?
Att.,
Rodrigo de Oliveira
On Thu, 6 Sep 2018 at 09:01, Django Lover wrote:
> *I am getting following error when i am running pip install
> mysql-python Comand . Please help??*
>
>
>
> [image: asd.png]
>
> --
> You received this message
Hello,
I have troubles when I try running tests with two databases configured.
I have migrations with RunPython (where the problem occurs).
I opened a thread on Stackoverflow [1] but without answers yet.
* sorry my English
[1]
I'm using Django's i18n_patterns, so my URLs look like
www.domain.com/pt/title. I want to change the language code in the URL to a
different string, say, for example 'br' instead of 'pt', so the same url
above would be rendered www.domain.com/*br*/title. I only want to change
the language's
If you know how to setup a server, I recommend DigitalOcean
<https://www.digitalocean.com/?refcode=1a0a61e97dd5> - They have tutorials
to help you to setup the server.
Cheers,
Rodrigo
Atenciosamente,
Rodrigo de Oliveira
On Thu, Feb 26, 2015 at 10:25 AM, Harish Pentapalli <
Yeah! Or you can write your own method to upload_to. It is easy too.
I've made a simple example:
https://gist.github.com/rodrigo-zayit/604da297d9c30e7d
This example save the pictures in:
media/images/products/1/product-slug/randomstring.ext
Where "1" is the id of the product'
put on your __init__.py file:
from signals import request_finished_callback
I guess it'll work.
Atenciosamente,
Rodrigo de Oliveira
On Wed, Feb 25, 2015 at 6:21 PM, Rootz <arc4g...@gmail.com> wrote:
> Still not working
>
>
> On Wednesday, February 25, 2015 at
If it is being loaded and it is not working, try to do by this way:
from django.core.signals import request_finished
from django.dispatch import receiver
@receiver(request_finished)
def request_finished_callback(sender, **kwargs):
# . . .
On Wednesday, 25 February 2015 14:01:24 UTC-3, Rootz
anywhere
Atenciosamente,
Rodrigo de Oliveira
On Wed, Feb 25, 2015 at 2:19 PM, dk <demi...@gmail.com> wrote:
> thanks guys, I installed Apache and I am setting everything, does my
> project really need to be in /etc/www/
>
> or I can put anywhere in the computer
Hi!
I didn't understand your question. You don't need to put all your files in
the same dir... you can create folders like "images", "images/products",
"css", "js", etc
Or are you asking about "media files"? I mean, files that will be uploa
method:
def delete(self, *args, **kwargs):
self.field_name.storage.delete(self.field_name.path)
return super(ModelName, self).delete(*args, **kwargs)
Best regards,
Rodrigo Zayit
On Tuesday, 24 February 2015 22:30:53 UTC-3, Karim Gorjux wrote:
>
> I'm using a form that get an
In your INSTALLED_APPS part in the configuration file, the registered
application is called 'langu', and not 'lang'. If you copied your code,
that's your problem.
On Sunday, July 6, 2014 2:26:15 AM UTC-5, gintare wrote:
>
> I am trying to create a project "lang" according Django documentation
I prefer not using flash and developing agile.
Without problem you can do that :)
Cheers,
El 20/03/2013 22:26, "Harry Ord" escribió:
> Hello
>
> Can i create a website just like this with Django?
>
> http://www.hbn.cl/
>
> --
> You received this message because you are
Happy New Year to all of you from Santiago, Chile!
El 31/12/2012 21:28, "Victor Manuel Quiñones Victor" <
quinonesvic...@gmail.com> escribió:
> Happy New Year!! Have a good year to all you.
>
> Cheers
>
> On Mon, Dec 31, 2012 at 9:10 PM, Raphael wrote:
>
>> **
>>
Happy new year to all of Django users worldwide.
--
* Atenciosamente*
___
Rodrigo Martins
www.rrmartins.com <http://rrmartins.github.com>
tel: (28) 9882-6202
(27) 9601-9573
(21) 9942-2016
My profiles: [image: Facebook] <http://pt-br.fac
e web visit
> https://groups.google.com/d/msg/django-users/-/NcMX0qVYXTcJ.
> 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
&
Stefan and Lachian,
I really appreciate your help. I didn't see spelling mistake.
Thank you and have a nice day.
Rodrigo
2012/10/26 Stephen Anto <charvigro...@gmail.com>
> Hi,
>
> as Lachian said, It is spelling mistake for ForeignKey. Just correct your
> word.
>
>
>
9 class Choice(models.Model):
10 poll = models.ForeingKey(Poll)
11 choice = models.CharField(max_length=200)
12 votes = models.IntegerField()
13
Thank you for helping me.
Cheers,
Rodrigo
--
You received this message because you are subscribed to the Google Groups
&q
e Projects assigned
to the Client.
Thanks,
Rodrigo
--
You received this message 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/-/xO-ARZBOXp4J.
To post to this group, send e
Hi,
Did you try to do what the docs said about static files?
https://docs.djangoproject.com/en/dev/howto/static-files/
On Tue, Jun 28, 2011 at 5:17 AM, sandeep kaur wrote:
> Hello all,
> I want to include background images and gallery images to my django project
>
param_str = context['param_str']
...
But this give me the error:
TemplateSyntaxError at /my/url/
my_tag takes 0 arguments
Am I using the 'with' tag wrongly?
thanks,
Rodrigo Gomes
On Fri, Jun 17, 2011 at 5:31 AM, Tom Evans <tevans...@googlemail.com> wrote:
> On Thu, Jun 16, 2011
positional. But is works
[]'s
Rodrigo Gomes
On Wed, Jun 15, 2011 at 10:29 PM, Kenneth Gonsalves
<law...@thenilgiris.com>wrote:
> On Wed, 2011-06-15 at 11:01 -0300, Rodrigo Gomes wrote:
> > But I think that I'm missing something. Is it so hard to write a
> > simple
> > c
Hi Tom, thanks for your reply.
Inclusion tag seems to be better (to write) than the other kinds of tags.
But I think that it is still too many things to do just to write a tag.
But it works, and I'm doing this way right now :)
Thanks,
Rodrigo Gomes
On Wed, Jun 15, 2011 at 11:11 AM, Tom Evans
to do that?
What I want is just write some custom html components (inputs) with specific
behavior.
Any tips?
Thanks,
Rodrigo Gomes
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Thank you very much, haven't looked up on your links yet, but it was
very enlightening.
On Thu, Apr 21, 2011 at 12:06 AM, Dug_the_Math_Guy
<dugthemath...@gmail.com>wrote:
> Hi Rodrigo,
> I'm new to Django too. I started with the tutorial, then bought a book
> called "Pract
in a
lot of different places. What I'm looking for is, for example, one book that
covers all I need to build a social network, or one tutorial.
On Wed, Apr 20, 2011 at 11:53 PM, Kenny Meyer <knny.m...@gmail.com> wrote:
> On Wed, Apr 20, 2011 at 8:09 PM, Rodrigo Ruiz <rodrigo.ru...@gmail.
network with django in three minutes, but I doubt you
> can make one as popular or as well designed as Facebook in that little time
> (and a lot of other things)
>
> Well, good luck...
>
> George
>
> On Wed, Apr 20, 2011 at 9:09 PM, Rodrigo Ruiz <rodrigo.ru...@gmail.com>
Another thing I still haven't decided is between python with Django or ruby
on rails.
I know it's a Django group, so I know i must expect the good aspects on
Django, but why should I use Django instead of ruby on rails?
I don't know any, so I can't defend any, but one thing I had trouble with
Can I learn how to make a socicial network website like facebook just with
those Django tutorials?
On Wed, Apr 20, 2011 at 9:02 PM, Ruturaj Dhekane <rutura...@gmail.com>wrote:
> Hi Rodrigo,
>
> I feel Social network is a hype term that has come into picture in recent
>
about pinax, didn't really understand what that
is and couldn't find any tutorias/books as well about social network
with pinax.
Thank you for your time,
Rodrigo
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
to the local one (crossposting to their FB
and Twitter account, pulling in their posts on FB and TW, etc.)
Thanks,
Rodrigo
--
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@google
If you work in Windows I would recommend PyScripter. It is lightweight and
the fastest IDE I've tested so far (and I've used others like PyDev, Wing or
NetBeans)
It also features code completion, debugging, etc. I've used it to debug
several Django applications and it worked like a charm.
--
.
Is this a normal behavior, or am I misunderstunding reverse and
resolve?
Thanks in advance.
Kind regards,
Rodrigo.
--
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@google
I hava a Django production site on IIS 6.0.
The LANGUAGE_CODE is set to 'es-cl'
There are forms on the site. Sometimes the site seems to switch to
English, returning validation errors on dates written in dd/mm/
format. The errors themselves are in English (whereas they're normally
in Spanish).
Hi.
There's a really good talk by James Bennett at the Google I/O 2008
that may help you. James talk mostly about the best practices when
writing a "Reusable App".
http://www.youtube.com/watch?v=A-S0tqpPga4
I'm sorry for my rusty english.
-- Rodrigo Chacon
On Dec 5, 3:53 am, S
:
buscar = request.GET['buscar']
;-)
-- Rodrigo Chacon
On Nov 25, 12:42 pm, Nick Arnett <nick.arn...@gmail.com> wrote:
> On Thu, Nov 25, 2010 at 6:35 AM, bvcelari <bvcel...@gmail.com> wrote:
> > Hy,
> > I'm trying to deploy my first django app, and I'm trying to use
> &g
I have my doubts that csrf protection won't allow me, in that case I'd
like to discuss how to circumvent that fact (if it's the correct way
to do it) or which other kind if changes should I do to fullfill my
needs.
Thanks in advance.
--
You received this message because you are subscribed to
if anyone here is happy with the Amazon's service.
* The FreeBSD in this case will be a vps with 512mb of ram from rootbsd.net
Thanks,
Rodrigo Nicola
Twitter: http://www.twitter.com/rodnic
--
You received this message because you are subscribed to the Google Groups
"Django users&q
Great answers, thanks! I'd like to complement this thread remembering
the importance of overriding the save method to save just the desired
fields and in this way, avoiding Django to validate read-only fields.
Rodrigo Nicola
Twitter: http://www.twitter.com/rodnic
On Wed, Aug 25, 2010 at 5:29
-a-field-readonly-or-disabled-so-that-it-cannot-be
My question is: Nowadays, there's a better way to do the same thing?
Thanks,
Rodrigo Nicola
Twitter: http://www.twitter.com/rodnic
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
I have a project that works OK using v1.1.1. However, if I try to run
it on trunk, I get this error:
"Error: cannot import name DateField".
Just that, no traceback, etc. I have no reference to "DateField" in my
project. There was 1 in django_extensions, but removing it and even
not loading
could you post your urls.py ?
On Apr 21, 6:51 pm, xota wrote:
> Or I do something bad, I was searching in google and some pepople have
> same/similar error without replies, can you help me, this is my error:
>
> Caught an exception while rendering: Reverse for
>
if there's a more standard way to do it.
Rodrigo
--
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
django-user
I checked the ROOT_URLCONF and it was fine, and deleted all the *.pyc,
without good results, but finally I found the problem. There was a
copy of the same project in some other folder under the PYTHONPATH, so
there was some kind of collision.
Thanks everybody for helping me out.
On Feb 28, 1:57
If I update any line on the urls.py, this doesn't reflect on the
server. I can even DELETE the file, and all the urls are still
working. I've tried restarting runserver many times, even restarting
the computer, and nothing happens.
The last test I did was deleting settings.py, to see if there was
Ok, just restarted (I actually restarted many times) and it magically
started working.
On Jan 31, 12:47 am, Rodrigo <kewl...@gmail.com> wrote:
> I'm following the tutorial on the book "Practical Django Projects",
> and I just can't inline the SearchKeywords to Flatpages, ma
I'm following the tutorial on the book "Practical Django Projects",
and I just can't inline the SearchKeywords to Flatpages, maybe the
problem lays in the fact that I'm using the development version of
django. It doesn't output any error, it just shows the flatpages
standard admin page, without
Absolutely. Django and everybody who works on it has made my life
richer in both the metaphoric and literal senses.
Thanks!
On Dec 24, 4:05 am, Gabriel Gunderson wrote:
> On Wed, Dec 23, 2009 at 2:52 PM, Ariel Nunez wrote:
> > Thanks one more time, I
You can paginate whatever you want. From the docs:
"Note that you can give Paginator a list/tuple, a Django QuerySet, or
any other object with a count() or __len__() method. "
On Dec 19, 3:33 am, Continuation wrote:
> In the django-pagination, it uses the example:
> {%
Hi Ken, thanks for your response,
I get the exact same results as you,
.py=Python.File and Python.File="C:\Python25\python.exe" "%1" %*
Thanks,
Rodrigo
On Dec 1, 11:49 am, Ken MacDonald <drken...@gmail.com> wrote:
> Hi,
> Check this out - on my XP system anyw
Thanks for the response.
Doing some more tests python programs do work, they just seem to not
recieve sys.argv. The results of calling "manage.py runserver" is the
same as calling just "manage.py". Other simple scripts bear this out.
Thanks,
Rodrigo
On Dec 1, 6:32 a
Following an abortive attempt to install Python2.6 on Windows 7, I
can't run the Django dev server without prepending "python" before
"manage.py runserver".
I tried recently to install Python2.6 on a windows 7 system that
already has python 2.5 installed. I had problems running some Django
I have a parent Class "ComponentBase", with abstract=False, that many
other classes extend.
The parent Class has a ForeignKey relation to another class, "Band".
It is convenient to be able to get a list of all of a band's
components without having to explicitly list each component class.
I am
I have a generic_inlineformset_factory instance being rendered via a
bound form so that users can modify an existing object.
The form renders OK, except for the File and Image fields, which show
up as empty. The CharFields in the same models have their correct
values. If I try to save the form, I
Is there an app or snippet that integrates a cropping interface to
image fields in the admin? Something in flash or javascript, like the
one in flickr, for example?
I have some photoshop-challenged users who are always uploading
pictures in the wrong sizes. Said pictures get cropped
Please post the actual code that's not working. This should work
regardless of the value of verbose_name.
Rodrigo
On Oct 3, 7:51 pm, adelaide_mike <mike.ro...@internode.on.net> wrote:
> Thanks for the pointer.
>
> I find that the verbose_name works as advertised in the case of
I am creating a password-protected file repository. I would like to
create a login_required view that returns the file without revealing
it's actual location in the file system.
Can I return an actual file (not it's location) from a view?
--~--~-~--~~~---~--~~
You
10 of each). It also have a lot of images on each page. I
would like to use a compressor to speed things up a bit.
The project is a medium sized corporate site, on a single server
(Dynamic, Static and DB) with no CDN. Mostly a brochure site, with
plenty of images, flash and vide
cessfully?
The Django community is very, very helpful and patient, but you're not
really helping them help you.
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
> Why do we need such a mechanism for the relationship between
> client database and the master server. Maybe you need something
> else entirely. Could you tell more general idea.
The general idea is to allow users to register and login on our
server, but store all the users information on our
I am creating a Django website for a client who won't give me access
to their database or server, but will allow login / account creation
on their server via SOAP or XML-RPC from my server, where the Django-
based website will reside.
I would like to get an idea beforehand about which route, SOAP
Most of the time, if you don't know how / can't install them, you can
simply drop a library into your Django project directory and it will
just work.
On Sep 13, 1:36 pm, Chris Babcock wrote:
> On Sun, 13 Sep 2009 10:21:41 -0600
>
> Adam Olsen
Hi Daniel,
I just changed my method as you suggested, to def __unicode__(self) and the
problem was solved.
Thanks so much!
Rodrigo
On Tue, Jul 21, 2009 at 12:54 PM, Daniel Roseman <dan...@roseman.org.uk>wrote:
>
> On Jul 21, 3:46 pm, Rodrigo Gomes <rgo...@gmail.com> wr
self.nome_convidado + " - " + self.descricao_presente*
On Tue, Jul 21, 2009 at 10:05 AM, Daniel Roseman <dan...@roseman.org.uk>wrote:
>
> On Jul 21, 1:27 pm, Rodrigo Gomes <rgo...@gmail.com> wrote:
> > Hi,
> >
> > I'm getting the error b
)
File "/Library/Python/2.5/site-packages/django/utils/encoding.py",
line 52, in force_unicode
s = unicode(str(s), encoding, errors)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in
position 9: ordinal not in range(128)
Thanks,
Rodrigo Gomes
--~--~-~--~
Stupid mistake, I had to use a MultipleChoiceField instead of a plain
ChoiceField.
styles= forms.MultipleChoiceField (widget=forms.CheckboxSelectMultiple
(),
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
permutations for "choices", including choices=
[(i.id,i) for i in Estilo.objects.all()], with no luck so far.
Thanks,
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
I am having trouble pickling, and then saving to the DB, django models
with Unicode text in them. The site is for Spanish speakers, so we
need our ñs, és and ös.
I implemented an unlimited undo feature for a Django site, using this
PickleField snippet:
Thanks, I'll look into it and post back if I solve this.
Rodrigo
On Jun 17, 1:32 pm, Liam Chasteen <liam.chast...@gmail.com> wrote:
> Check out the article on developerworks:
>
> http://www.ibm.com/developerworks/opensource/library/os-django-admin/...
>
> The met
ow up at the side of the admin screen.
"
On Jun 8, 12:44 am, Rodrigo Cea <rodrigo...@gmail.com> wrote:
> I have a model with 4 ForeignKeys: 'autor','categoria','edicion' and
> 'dossier'. In admin.py, I am trying to assign them as "list_filter".
> However, onl
I have a model with 4 ForeignKeys: 'autor','categoria','edicion' and
'dossier'. In admin.py, I am trying to assign them as "list_filter".
However, only 2 of them actually show up within the filters, 'autor'
and 'categoria'. All four show up as columns without any problems.
Does anybody have any
I have added a "preview" button to the admin, like so:
# In "templates/admin/core/change_form.html"
{% extends "admin/change_form.html" %}
{% load i18n %}
{% block object-tools %}
{% if change %}{% if not is_popup %}
Preview
{{ form.data}}
{% trans "History" %}
{% if has_absolute_url
Beautiful, works like a charm.
Also finally learned how to validate in the admin!
Thanks,
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
So if I followed this:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin
and the field I was cleaning was called "image", would the validation
function be called "clean_image"?
Thanks for the super quick response,
Rodrigo
On
How can I validate, in the admin, that images uploaded by users have a
minimum size in pixels?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
OH! It does it alone! Another awesome thing to my awesomeness list of
django.
2009/5/20 Rodrigo <rali...@gmail.com>
> Hi users and devs
>
> In the next example for pagination:
>
>contact_list = Contacts.objects.all()
>paginator = Paginator(contact_list, 25) # Sho
. Wouldn't be
significantly more fast to query for Contacts.objects.all()
[offset:limit]? Instead of cut a big list and querying for all objects
at the same time?
Regards,
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
le to
pass the subdomain to my view function.
The site will be hosted on Webfaction, if that makes a difference.
Thanks,
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
dHandler fastcgi-script .fcgi
| RewriteEngine On
| RewriteCond %{REQUEST_FILENAME} !-f
| RewriteRule ^(.*)$ engine.fcgi/$1 [QSA,L]
`
--
Rodrigo Lazo (rlazo)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
fields, non-
superusers see some fields).
Is this possible without major surgery?
Thanks,
Rodrigo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Never mind, it was easy.
Basically, overriding the "get_form":
def get_form(self, request, obj=None, **kwargs):
if request.user.is_superuser:
self.exclude = None
On Feb 3, 5:42 pm, "Rodrigo C." <rodrigo...@gmail.com> wrote:
> After follow
t is showing a working example
> of the kind of thing you want then, since the source is all available, the
> answer is there somewhere.
>
> Karen
Solid advice. Will look into it.
Thanks,
Rodrigo
--~--~-~--~~~---~--~~
You received this message be
Hi Malcolm, thanks for your reply.
> So, perhaps you could give a small, reduced to the minimum, example of
> how you're setting all this up. Maybe it's a problem in inline formsets,
> or maybe it's an oversight in your code. At the moment, hard to tell.
>
I included the View and Model in my
> This isn't a Django issue. It's a standard property of browsers: you
> can't set an initial value for file input fields. This is a security
> measure, to stop malicious pages uploading files from your hard drive
> without your explicit instruction.
I see. If there's no way to set the initial
I have model that represents a file, and has a FileField, that I am
rendering via an Inline Formset. When a user fills in the form it gets
saved with no problems.
However, I want the users to be able to continue editing the file, but
when I re-display the newly created object, the data for the
I need to create an Intranet for a client. I would like to include
some facebook-like functionality, such as being able to create and
join networks, setting permissions based on membership in said
networks, being notified when a friend or someone in your network
updates his status, writes
1 - 100 of 162 matches
Mail list logo