Hello,
I am trying to use
python manage.py dumpdata > myfile.json
It is only working if I specify each app.
python dumpdata myapp > myfile.json
Is there any wany to dump all apps into one file?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users
I found out dumpdata was not working correctly because of an app installed:
django-compaign.
I commented it out.
On Thursday, August 8, 2013 9:27:49 AM UTC-4, frocco wrote:
>
> Hello,
>
> I am trying to use
> python manage.py dumpdata > myfile.json
>
> It is only worki
If so, are there any tutorials?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to d
SuspiciousOperation: Invalid HTTP_HOST header (you may need to set
ALLOWED_HOSTS): www.g3suprimentos.com.br
I keep getting this error from time to time.
Is someone trying to hack my site?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group
I am concerned because I have a value in ALLOWED_HOSTS, but it is not this
value.
On Tuesday, March 17, 2015 at 9:17:15 AM UTC-4, frocco wrote:
>
> SuspiciousOperation: Invalid HTTP_HOST header (you may need to set
> ALLOWED_HOSTS): www.g3suprimentos.com.br
>
> I keep getting
they will generally
> try every possible backdoor and exploit that they know of, all at once.
>
> Yours,
> Russ Magee %-)
>
> On Tue, Mar 17, 2015 at 11:45 PM, frocco >
> wrote:
>
>> I am concerned because I have a value in ALLOWED_HOSTS, but it is not
>> this
The problem is I do not know how to debug this issue.
On Tuesday, March 17, 2015 at 9:17:15 AM UTC-4, frocco wrote:
>
> SuspiciousOperation: Invalid HTTP_HOST header (you may need to set
> ALLOWED_HOSTS): www.g3suprimentos.com.br
>
> I keep getting this error from time to time.
Thank you for sharing this.
On Monday, May 4, 2015 at 12:46:08 PM UTC-4, André Luiz wrote:
>
> You can do it in in urls.py for example[1]
>
> [1]: https://gist.github.com/dvl/0bed149bee4556b32d7a
>
> 2015-05-02 5:55 GMT-03:00 drakkan >:
>
>> Hi,
>>
>> I would like to customize django 1.8 site titl
I am still getting this invalid host from time to time.
Does this mean that someone is trying to hack my site?
www.g3suprimentos.com.br is not anything I own.
For now, I am just ignoring this.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" g
gt; > where the ‘Host:’ HTTP header is not set or set to something other
> > than what is accepted by your site. Most likely a buggy client. I get
> > that all the time, I just ignore it.
> >
> > Cheers
> >
> > François
> >
> >> On Sep 21
I spoke with webfaction and they advised I change apache2 config to Listen
127.0.0.1:29627 instead of Listen 29627
On Monday, September 21, 2015 at 7:46:49 PM UTC-4, frocco wrote:
>
> I am using webfaction and django 1.5
>
> Is this something webfaction and resolve?
>
> On Mo
Did not solve problem.
They pointed me to this fix.
http://stackoverflow.com/questions/15238506/djangos-suspiciousoperation-invalid-http-host-header/19534738#19534738
Just wanted to share.
On Wednesday, October 21, 2015 at 8:08:55 PM UTC-4, frocco wrote:
>
> I spoke with webfaction an
Hello,
I have two existing tables
table1 has name1
table2 has name2
when I edit table2 in admin, I want a dropdownbox that shows values from
table1 using name1
both fields are character
I cannot change the design, porting from msaccess
thanks
--
You received this message because you are su
admin will
> use name1 in dropdown box.
>
> On Wed, 4 Nov 2015 at 21:50 frocco > wrote:
>
>> Hello,
>>
>> I have two existing tables
>> table1 has name1
>>
>> table2 has name2
>>
>> when I edit table2 in admin, I want a dropdow
Thanks, I will look into adding id
If I just do this, clinician = models.ForeignKey(Clinician)
I get clinician_id does not exist
In my related table I have
def __unicode__(self):
return self.clinicianname
On Wednesday, November 4, 2015 at 11:19:40 AM UTC-5, frocco wrote:
>
> Hello,
Thank you
On Wednesday, November 4, 2015 at 11:19:40 AM UTC-5, frocco wrote:
>
> Hello,
>
> I have two existing tables
> table1 has name1
>
> table2 has name2
>
> when I edit table2 in admin, I want a dropdownbox that shows values from
> table1 using name1
>
Hi,
I want to deploy an admin app that only allows records with company=A to
users in group A
and allows records with company=B to users in group B
Is this possible?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
Hello,
request.user.groups.all() returns:
[, ]
z = request.user.groups.all()
I am trying to limit records based on:
mytable.filter(company__in=z)
What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fro
I was stuck on the syntax.
This seems to be working.
return qs.filter(company__in=list(request.user.groups.all()))
On Monday, November 9, 2015 at 1:46:19 PM UTC-5, frocco wrote:
>
> Hello,
>
> request.user.groups.all() returns:
>
> [, ]
>
>
> z = request.user.grou
I solved this using
def get_queryset(self, request):
qs = super(TrackingAdmin, self).get_queryset(request)
return qs.filter(company__in=list(request.user.groups.all()))
*Sorry for the duplicate post*
On Monday, November 9, 2015 at 11:28:50 AM UTC-5, frocco wrote:
>
> Hi,
>
I have
class qry485Missing(Tracking):
class Meta:
proxy = True
permissions = (
("qry485Missing_display", "May display information"),
("qry485Missing_edit", "May edit information"),
)
verbose_name = "485 Missing"
verbose_name_plur
Hello,
In httpd.conf this works
WSGIScriptAlias / C:/MAMP/htdocs/django/vnatracking/vnatracking/wsgi.py
however if I change it to
WSGIScriptAlias /mysite
C:/MAMP/htdocs/django/vnatracking/vnatracking/wsgi.py
it fails
Instead of localhost, I want localhost/mysite
Thanks
--
You received t
Just an update.
This is now working in django 1.8.6
On Monday, November 9, 2015 at 3:31:35 PM UTC-5, frocco wrote:
>
> I have
>
> class qry485Missing(Tracking):
> class Meta:
> proxy = True
> permissions = (
> ("qry485Missing_displ
I get a 404 error
WSGIScriptAlias /mysite
C:/MAMP/htdocs/django/vnatracking/vnatracking/wsgi.py
>
--
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
Looks like it is working now.
I tried localhost/mysite (which failed)
this works localhost/mysite/admin
On Tuesday, November 10, 2015 at 3:42:07 PM UTC-5, frocco wrote:
>
> I get a 404 error
>
> WSGIScriptAlias /mysite
> C:/MAMP/htdocs/django/vnatracking/vnatracking/wsgi.py
This is still not working.
On Tuesday, November 10, 2015 at 11:36:39 AM UTC-5, frocco wrote:
>
> Just an update.
> This is now working in django 1.8.6
>
> On Monday, November 9, 2015 at 3:31:35 PM UTC-5, frocco wrote:
>>
>> I have
>>
>> class qry
Hello,
Works fine in Chrome or Firefox.
Does not render using IE11.
did pip install django-tinymce
Can someone help me with this?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hi,
I followed this
https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/modwsgi/
First app works fine, if I deploy the second app, the settings conflict and
images are not rendered.
[code]
Alias /static /var/www/django/track/static
Require all granted
Require all g
That is correct, sorry for my wording. This is two separate projects that
need to run on the same server.
On Tuesday, March 1, 2016 at 6:17:33 PM UTC-5, James Schneider wrote:
>
> On Tue, Mar 1, 2016 at 8:56 AM, frocco >
> wrote:
>
>> Hi,
>>
>> I followed this
On Wednesday, March 2, 2016 at 8:59:05 AM UTC-5, frocco wrote:
>
> That is correct, sorry for my wording. This is two separate projects that
> need to run on the same server.
>
> On Tuesday, March 1, 2016 at 6:17:33 PM UTC-5, James Schneider wrote:
>>
>> On Tue, Mar 1,
I changed the second project to use STATIC_URL = *'/static1/' and the
apache conf to **ALIAS /static1/*
*and the images now show*
On Wednesday, March 2, 2016 at 9:02:40 AM UTC-5, frocco wrote:
>
> From your link, it looks like I am using the WSGIDaemonProcess and
> WSGISc
201 - 231 of 231 matches
Mail list logo