nao consigo criar ambiente virtual no vscode, para iniciar um projecto
django
On Thu, May 11, 2023, 15:42 Michael Edet wrote:
> What help do you need?
>
> On Thu, 11 May 2023, 14:09 Abrao Roberto,
> wrote:
>
>> Olá pessoal, sou um programador iniciante e quero migrar pa
Olá pessoal, sou um programador iniciante e quero migrar para Django pois
uso streamlit para desenvolver, mas estou tendo problemas serio com
ambiente virtual.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and
Hi everyone!
I use ngrok to make my projects available in django. I'm having trouble
accessing the admin page. After I enter the username and password I get the
error 403.
Has anyone had the same problem and could help me?
Regards
--
You received this message because you are subscribed to t
Thanks for your attention, but, as i say yet, i don't go on internet on my
pc, but i go with my smartphone, download the file, and install offline.
But any whl i don't installed, even wxpython i.e.
Why?
Have you a solution for me?
Thanks more.
Robertomelucci.
Il Mer 5 Ago 2020, 13:46 Arief Zuliant
I was unable to install django 3 0 9, with pip install -r
Django-3.0.9-py3-none-any.whl
... shows me 11 tracebacks, of which the last is in
lib / encodings / cp1252.py, line 15, in decode return codecs.charmap_decode
(input, errors, decoding_table)
I don't have internet on the pc, and it must dow
Non sono riuscito ad installare django 3 0 9, con pip install -r
Django-3.0.9-py3-none-any.whl
... mi segnala ben 11 traceback, di cui l'ultimo è in
lib/encodings/cp1252.py, line 15, in decode return
codecs.charmap_decode(input,errors,decoding_table)
Non ho internet sul pc, e deve scaricare i fi
Ciao a tutti,
Sto cercando il modo di creare una TagCloud partendo da un file txt
contenente parole e i loro rispettivi pesi.
Non riesco a dare una direzione al mio lavoro e ho appena cominciato ad
utilizzare Django.
Se qualcuno mi desse un canovaccio da seguire sarebbe perfetto!
Grazie a tutti
In the Admin interface when I add a new record to a filtered list and
submits it, I come back in a no longer filtered list unlike when I edit a
record.
How can I fix this problem?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe
In the admin I have a list with a filter on a foreing-key field of model.
In the new record form, when the filter is applied, I wont that foreing-key
field is pre-compiled with the same value of the filter.
Is there a way?
--
You received this message because you are subscribed to the Google Gr
I need to validate a form in the admin area checking if the SUM of 'price'
field in inlines match whit 'amount' field in the main form.
What is best way?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and sto
I need to pre-populate some fields in the form opened when you press the
plus button to add a new record for a foreingkey field in the admin
interface.
I'm using Django-Suit.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
Is just what i pictured. But when form_invalid is called?
Il giorno lunedì 30 gennaio 2017 02:35:54 UTC+1, Melvyn Sopacua ha scritto:
>
> On Sunday 29 January 2017 04:10:20 Roberto Russi wrote:
>
> > I need get data from a form when submit is clicked even if data are
>
> >
YPcYR7M3NWkzP4wcd6WUX1CEazC1dAK3aD1n8zl1aUU'],
> 'demo_desc
> r': [''], 'demo_code': ['']}>
>
> ...
>
> BTW, I had to add "blank=True, null=True" to your models, otherwise
> the fields are marked as required and the browser does vali
ost(self, request, *args, **kwargs), in request.POST, you'll
> have your form's data (before it's validated).
>
> HTH,
> Norberto
>
> 2017-01-29 9:10 GMT-03:00 Roberto Russi
> >:
>
>> I need get data from a form when submit is clicked even if data are
&
I need get data from a form when submit is clicked even if data are
invalid, inconplete or empty.
I try to override form_invalid in CreateView but it is never called and
form_valid, obviously, only if data are valid.
Why form_invalid is never called?
I have this test project with django 1.10.5
hi, I have 3 models:
class Orders(models.Model):
brand = models.ForeignKey(
Brands,
verbose_name = "Brand",
null=True,
blank=True,
related_name="ord_brand"
)
dateord = models.DateField("Date")
numbord = mod
I have 3 models:
class Products(models.Model):
brand = models.ForeignKey(
Brands,
verbose_name = "Brand",
)
code = models.CharField("Code",
max_length=25,
)
descr = models.CharField("Description",
max_length=5
ding the whole WSGI server is the
only reliable solution (in fact used by everyone).
If you are scared about potential downtimes check this article:
http://uwsgi-docs.readthedocs.org/en/latest/articles/TheArtOfGracefulReloading.html
But take in account that 99% of the times/cases a simple gra
starting to get
> annoying. Also I don't know how our customers are affected when this
> happens, but it's probably not good.
>
> Regards,
>
> Andréas
>
Hi, ensure you are running a stable uWSGI version 1.4.x or 2.x, older
versions have serious bugs. Eventually
Lot of users prefer this approach.
Apache can be a good application server.
(disclaimer: i am the uWSGI lead developer)
--
Roberto De Ioris
http://unbit.it
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
ango-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/860138ae-d915-493d-9643-2148842eb724%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-
protect some view:
https://github.com/unbit/uwsgi.it/blob/master/uwsgi_it_api/views.py#L19
this works in mod_wsgi and variables/cgi based proxies like FastCGI,SCGI
or uwsgi
--
Roberto De Ioris
http://unbit.it
--
You received this message because you are subscribed to the Google Groups
"
Which is the question?
On 07. nov. 2013 09:15, Harjot Mann wrote:
Is using the InnoDb storage engine as default as per my knowledge in
MySql MyISAM is the default storage engine.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe
suprvisord. I have seen lot
of users happy with 'god' too (it is a ruby app)
--
Roberto De Ioris
http://unbit.it
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receivin
Hi Muhammed,
I agree with Javier: a django project is never run. In your case it is
deployed on gunicorn, which reads/interprets your source code. But it's
never started as a service. You can run nginx as a service, though.
Roberto
On 10/15/2013 11:12 AM, Muhammed TÜFEKYAPAN
oyd Dube
>
> --
> 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
_featured', )/, the user can check/uncheck the box in
the admin interface. Do you see any flaw here? Thanks again!
Roberto
On 10/10/2013 04:52 PM, Timothy W. Cook wrote:
> On Thu, Oct 10, 2013 at 10:04 AM, Roberto López López
> mailto:roberto.lo...@uni.no>> wrote:
&
rm()? It should be the
> solution.
>
>
>
> On Thu, Oct 10, 2013 at 9:45 AM, Roberto López López
> mailto:roberto.lo...@uni.no>> wrote:
>
> Hi,
>
> In my project I make use of django-admin. I need to have different
> readonly_fields depending on the user
_superuser:
return readonly
else:
import itertools
return itertools.chain(readonly, ('is_featured',))
On 10/10/2013 02:45 PM, Roberto López López wrote:
> Hi,
>
> In my project I make use of django-admin. I need to have different
> reado
() and ModelAdmin.get_form(). But no success.
Any other suggestions?
Thanks!
Roberto
--
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-user
wrong list, sorry :-(
On 10/07/2013 11:23 AM, Roberto López López wrote:
> Hi,
>
> The users of my project prefer ckeditor, so I am wondering how to use it
> for cms.plugins.text . I am already making use of django-ckeditor in
> other parts of the application. Can anyone enli
Hi,
The users of my project prefer ckeditor, so I am wondering how to use it
for cms.plugins.text . I am already making use of django-ckeditor in
other parts of the application. Can anyone enlighten me please?
Thanks,
Roberto
--
You received this message because you are subscribed to the
On 10/03/2013 04:13 PM, Roberto López López wrote:
> *return HttpResponse(json.dumps([players]) ,
> content_type='application/json')*
better without the square brackets
*return HttpResponse(json.dumps(players) ,
content_type='application/json')*
--
Roberto Ló
ps.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e7e37ad2-281c-41f4-a0b9-b333294fe1b8%40googlegroups
legroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e7e37ad2-281c-41f4-a0b9-b333294fe1b8%40googlegroups.com.
> For more options, visit https://groups.google.com/group
y GitHub
> page <https://github.com/lgiordani> - My Coderwall profile
> <https://coderwall.com/lgiordani>
>
>
> 2013/10/2 Roberto López López <mailto:roberto.lo...@uni.no>>
>
> Hi,
>
> I am extending a 3rd party model in my application, using
&
Hi Leonardo, thanks for your answer.
Yes, it has been synced.
The model itself is a little bit bigger, as you can notice from the code
https://dpaste.de/c3Rg I am using as well the News model from
https://github.com/wildfish/cmsplugin_news/blob/master/cmsplugin_news/models.py
Regards,
Roberto
Hi,
I am extending a 3rd party model in my application, using multi-table
inheritance. I can create an instance and modify it, but when I try to
list the created objects at http://localhost:8000/en/admin/news/news/ ,
I am getting a nice exception:
Traceback:
File
"/home/ro
ry to add a new News item, I am getting the following error:
|Traceback: File
"/home/roberto/.virtualenvs/ve_news/local/lib/python2.7/site-packages/django/core/handlers/base.py"
in get_response
115. response = callback(request, *callback_args,
**callbac
'css/pages.css',
'css/change_form.css',
'css/jquery.dialog.css',
'css/plugin_editor.css',
)],
'screen':
('modeltranslation/css/tabbed_translation_fields.css',),
roups "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/d
ou edit the relationship
> from a *News* model form, you need to hook it up
> ("sender=News.department.through").
>
> On Sep 17, 2013, at 3:59 AM, Roberto López López <mailto:roberto.lo...@uni.no>> wrote:
>
>>
>> Hi,
>>
>> I need to use the m2m_c
cmsplugin_news). When
I add/delete a department from the formset, the signal is never caught
by my method.
Any help here? Thank you very much.
Roberto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this
You have to fake the migration.
On 09/08/2013 09:12 PM, Harjot Mann wrote:
> I am trying to add a new field to model class in django using south
> but when I am running ./manage.py migrate app, I am getting this error
> http://202.164.53.122/~harjotmann/southerror
>
--
Roberto
his 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.
> For more options, visit https://groups.google.co
Hello,
I'm building a set of common libraries and a few other specific libraries.
As of right now the common library works great as an independent library
that can be used by applications.
The problem I'm having now is that I'm building a new library that will use
the common library. This new
egroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Roberto López López
System Developer
Parallab, Uni Computing
+47 5
e 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.
> For more options, visit https://groups.go
On 07/28/2013 08:35 AM, Karl Arunachal wrote:
> ||
--
Roberto López López
System Developer
Parallab, Uni Computing
+47 55584091
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rec
Well, I suppose you are running that locally or have access to the
server. So show the logs.
On 07/27/2013 01:40 PM, Nigel Legg wrote:
>
> I have provided all the information I have. That's all there is on the
> screen in the browser. There is no trace.
>
> On 27 Jul 2013 1
ails 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
when inspecting, if the class has True on the
abstract field? Maybe this is not the right forum, but any help is
appreciated.
Thank you
-- Roberto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Kind regards,
Roberto López López
System Developer
Parallab, Uni Computing
Høyteknologisenteret, Thormøhlensgat
Changing the m2m_changed signal on Project.departments.through to
post_save on ProjectDepartmentMembership did the trick.
m2m_changed signal seems to work as long as you don't explicitly define
the "through" model.
On 06/28/2013 02:06 PM, Roberto López López wrote:
>
>
I am doing tests and the m2m_changed signal seems to work perfectly as
long as I have not defined a "through" model. Is there any trick here?
Thanks!
On 06/28/2013 12:14 PM, Roberto López López wrote:
>
> I have tried as well using the post_save signal and overriding the
>
..@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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Kind regards,
Roberto López López
System Developer
Paral
Hi,
I can perfectly understand Portuguese, but it's not the case for many
users of this mailing list. Please, stick to English...
Cheers,
Roberto
On 06/28/2013 01:35 PM, Sandro Dutra wrote:
> Como o Gilberto postou, pode haver um problema quando o teu editor de
> textos salva o
I have tried as well using the post_save signal and overriding the
save() method. But in none of those cases Project.departments is
populated yet when reaching my code :-/
On 06/28/2013 11:50 AM, Roberto López López wrote:
>
> Hi,
>
> I am trying to listen to the m2m_changed
terface I am using the django admin, and departments appears as an
inline of Project
Any help please? Thanks.
Cheers,
Roberto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fro
Update: if I disable 'django.middleware.locale.LocaleMiddleware', it's
not redirecting anymore. But I need to have i18n support in my website!
Any idea?
On 06/26/2013 05:09 PM, Roberto López López wrote:
> Hi,
>
> After creating an object from the admin inter
ple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware'
Ok, answering my own question: django-country-dialcode
On 06/20/2013 11:35 AM, Roberto López López wrote:
> Hi,
>
> I need a sort of prepopulated foreign key with countries and their phone
> prefixes, to add to my models. Does anyone know any 3rd party package or
> service
Hi,
I need a sort of prepopulated foreign key with countries and their phone
prefixes, to add to my models. Does anyone know any 3rd party package or
service providing this? Thanks.
Cheers,
Roberto
--
You received this message because you are subscribed to the Google Groups
"Django
Btw I have opened a stackoverflow thread:
http://stackoverflow.com/questions/17149305/post-save-signal-and-relations
At the beginning I was thinking of using a post_save signal, but an user
there suggested me to better use the m2m_changed.
On 06/18/2013 04:12 PM, Roberto López López wrote
Are you in a virtualenv? Can you run $python manage.py shell?
Which version of python have you installed? Django v1.5 requires python >=
v2.6.5, and from your stacktrace it seems you just have v2.6.
https://docs.djangoproject.com/en/1.5/faq/install/#what-are-django-s-prerequisites
On Tuesday,
t works correctly.
I have read the signals documentation -concretely the m2m_changed-,
re-read my code, googled for it, asked in other sites... but I have not
been able to find a solution. Any help please? Thanks!
Roberto
--
You received this message because you are subscribed to the Google Group
uWSGI releases with WSGI specs, so
why django should bother ?
--
Roberto De Ioris
http://unbit.it
--
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 e
l with gunicorn
>
> Ch.
>
If it works well with gunicorn it could be a problem with how (or better
'when') you open the connection to mongodb.
Add --lazy-apps to uWSGI options to load the application after fork()
(like gunicorn)
--
Roberto De Ioris
http://unbit.it
--
You
http://groups.google.com/group/django-users?hl=en
> <http://groups.google.com/group/django-users?hl=en>.
> For more options, visit
> https://groups.google.com/groups/opt_out
> <https://groups.google.com/groups/opt_out>.
>
>
Problem solved with BaseInlineFormSet.clean() :-)
On 05/11/2013 06:56 PM, Roberto López López wrote:
>
> Hi everyone,
>
> I need to do some validation in my model. So far, I have been able to
> validate normal forms, but I want to validate forms with an inline, to
> ensure
d, I don't know how to
check the value of those other (I just want to ensure that at least one
fo them has lead==True).
Does anyone know how to do this cross validation? Thank you very much
for your suggestions.
Regards,
Roberto
--
You received this message because you are subscribed to th
epartment, DepartmentAdmin)
According to the documentation this should be enough to integrate
django-guardian into the admin interface. Even though, when I log in
with a user from different department, he's able to modify the other
department. Any help please? Thanks in advance.
Regards,
Thank you very much Joey and Nik, I will talk about your proposed
solutions with our sysadmin.
Best,
Roberto
On 04/12/2013 01:11 AM, Nikolas Stevenson-Molnar wrote:
> Another direction might be to run a separate WSGI HTTP server (like
> gunicorn) and proxy to it from Apache. Saves the
pinosa" <mailto:jlouis.espin...@gmail.com>> wrote:
>
> Do all your sites share the same Python, or are they in different
> virtualenvs?
>
> --
> Joey "JoeLinux" Espinosa
> Python Developer
> http://about.me/joelinux
>
&
:
WSGIPythonPath cannot occur within section
Can anyone give us any hint? Thank you very much!
Roberto
--
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
/2013 05:02 PM, akaariai wrote:
> On 22 maalis, 15:44, Roberto López López wrote:
>> Hi,
>>
>> I have a problem with my data model while doing field lookups. This is
>> my models.py:
>>
>> from django.db import models, IntegrityError
>>
>> # Creat
OK
>>> ThroughModel.objects.filter(model1__exact=m2)
[] # NOT OK!!!
Am I missing anything? Can anyone spot the problem?
Thanks for your advice.
Regards,
Roberto
--
You received this message because you are subscribed to the Google Groups
"Django users"
Thank you very much!
On 03/08/2013 03:12 PM, Javier Guerra Giraldez wrote:
> On Fri, Mar 8, 2013 at 5:07 AM, Roberto López López
> wrote:
>> I'd like to avoid having to concatenate them in the view and pass that
>> as another parameter.
>
>
> two ideas come
write some stuff
{% endfor %}
Thanks for your input!
Roberto
--
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.
If you are using pycharm, you just need to use the local history to
check which indents you have changed.
(right click over the file you want to check - local history - show
history - ...)
On 03/07/2013 03:58 PM, frocco wrote:
> The problem with the stack trace, is that I could not tell what vi
not understand what the error indentation means.
> I am new to django, coming from PHP.
> I was using touch, because unlike PHP, I wanted changes to show without
> kicking users off.
> now I am afraid to use touch.
>
>
> On Thursday, March 7, 2013 8:54:15 AM UTC-5, R
Yes, I meant that. It works great, and fits perfectly my needs. I give
it an AAA+
Thanks again.
On 03/07/2013 02:58 PM, Johan ter Beest wrote:
>
> On Mar 6, 2013, at 4:20 PM, Roberto López López wrote:
>
>>
>> Thanks for your suggestion Johan.
>>
>> Just
ved 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@googleg
Thanks for your suggestion Johan.
Just another question, which I've not seen answered in the
documentation: is there any custom filter/tag to access those translated
fields from a template? Thanks
Best,
Roberto
On 03/05/2013 10:39 PM, Johan ter Beest wrote:
>
> On Mar 5, 2013,
Hi,
I am setting up i18n in my django app. I have added the following to my
settings.py:
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
LOCALE_PATHS = (
os.path.join(PROJECT_PATH, 'locale'),
)
LANGUAGES = [
('en', _('English'))
; 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.
>
>
--
Kind
Hi guys,
I am developing a django application and between my requirements there
is being able to set the model fields into different languages.
For example:
class Employee(models.Model):
position = models.CharField()
# etc.
The employee position won't be the same in English and Spanish.
;
>
> --
> 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, s
cr...@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.
>
>
--
Kind regards,
Roberto López López
Syste
-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.
>
>
--
Kind regards,
Roberto López López
System Developer
Parallab, Uni Computing
Høyteknologisenteret, Thormøhl
.
Roberto
On 02/27/2013 04:19 PM, Maria wrote:
> Hello Alan,
>
> I'd love to learn something new but unfortunately I dont have the time
> since my project is due very soon. Is there no easy or short way to get
> this time variable into my code? Also, how do I "l
gt; For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
Kind regards,
Roberto López López
System Developer
Parallab, Uni Computing
Høyteknologisenteret, Thormøhlensgate 55
N-5008 Bergen, Norway
Tel:(+47) 555 84091
--
You received this message because you are
Try https://docs.djangoproject.com/en/1.5/intro/
On 02/27/2013 09:29 AM, Akshay Ramesh wrote:
> Hi I am new to Djnago and would like to have some help from you. Where
> should I start from ?
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group
Mike,
Cool, you are right! Changing the related_name to something different
than groups seems to solve the problem. Thank you very much :-)
Roberto
On 02/24/2013 11:30 PM, Mike Dewhirst wrote:
> Roberto
>
> I'm not entirely sure but it is possible that your group is getting
&
Hi,
I have a problem involving a relation between two entities, Person and
Group.
from django.contrib.auth.models import User
from django.db import models
class Group(models.Model):
employees = models.ManyToManyField('staff.Person',
related_name='groups')
leader = mod
but is fore sure the most versatile.
Regarding fastcgi (read: flup, as fastcgi is only a communication
protocol) i do not think it is still "on par" with more modern solutions
like uWSGI, gunicorn and mod_wsgi.
Again, if you want a simple pure-python application server, gunicorn is
Hi Matt,
When I use linkcolum instead of a template tag, my collum cell
does not display nothing!
Muito Obrigado,
--
Roberto Ferreira Junior
robefe...@gmail.com
11 98009942
De: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Em
nome de MattDale
###
## url.py ##
#
urlpatterns = patterns('',
# Main Page portal
(r'^$', portal_main_page),
# Home Page
(r'home/$', portal_main_page),
# Project Page
url(r'projetos/$', projetos_main_page),
url(r'proj
"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/django-users?hl
eal fix is always reading POST datas when they are available (even if
you are not interested in them). Not reading them means your communication
socket with the webserver will be clobbered soon or later.
If you do not want to change your code you can use the uWSGI
--post-buffering option that
1 - 100 of 185 matches
Mail list logo