Hi,
Apparently you have mistaken what GeoDjango is.
GeoDjango is a GIS framework, that is it deals with (usually) real world
coordinates.
And in most cases coordinates are 3D. Two well known coordinate systems
are WGS84 (GPS uses this) and second one is Google Transverse Mercator.
GIS is u
For Instance...lets say I need to let customer calculate Azimuth for the
home roof with ModelForm.
Its not a simple one single direction. If you can do it let me know with
example.
Regards,
Shazia.
On Wed, Jan 10, 2018 at 11:30 PM, Jani Tiainen wrote:
> Hi.
>
> So what is your actual problem?
>
Hi.
So what is your actual problem?
11.1.2018 3.04 "Shazia Nusrat" kirjoitti:
> Hi,
>
> I need quick help about using the fields in the following model:
>
> class Size(models.Model):
>azimuth = models.CharField(max_length=200, blank=True, null=True)
>tilt = models.CharField(max_length=2
Problem solved and apparently it was my silly mistake! While experimenting
I added app_name to my urls files. Apparently this enables namespace
support. So I removed them from my urls files and it works.
Thanks
On Thursday, 21 December 2017 10:38:36 UTC-5, Stodge wrote:
>
> I am porting an app
Hi Julio Biason*,*
I have not added any javascript, I downloaded the video from youtube and
put it in inside Django folder. In the HTML tag I gave the path of
the link. The video is playing but not forward and backward feature. It's
only in *Chrome* browser.
*Regards,*
*Manjunatha,*
On Wed
On 11/01/2018 12:20 PM, Tom Tanner wrote:
Hey everyone,
I have a bunch of text files that each have a bunch of columns in
common. I plan to import these files into PostgreSQL tables. The
website user will be able to send a GET request to query a table and
get back data from it. Since most of
Hey everyone,
I have a bunch of text files that each have a bunch of columns in common. I
plan to import these files into PostgreSQL tables. The website user will be
able to send a GET request to query a table and get back data from it.
Since most of the tables will have a bunch of columns in c
Thanks you two. I'll check out that parser.
On Monday, January 8, 2018 at 9:38:44 PM UTC-5, Tom Tanner wrote:
>
> I have a tab-delimited data file that looks something like this:
>
>
> NAME S1903_C02_001E state county tract State-County-Tract-ID
> Census Tract 201, Autauga County, Alabama 66000 01
Hi,
I need quick help about using the fields in the following model:
class Size(models.Model):
azimuth = models.CharField(max_length=200, blank=True, null=True)
tilt = models.CharField(max_length=200, blank=True, null=True)
boundary_coordinates = models.CharField(max_length=200, blank=Tr
On 11/01/2018 10:53 AM, Mike Dewhirst wrote:
On 11/01/2018 1:22 AM, Matthew Pava wrote:
If I'm understanding you correctly, you could use a callable in the
list_display definition.
That is what I'm doing. Unfortunately a callable for a list_display
column prevents sorting the list by that col
On 11/01/2018 1:22 AM, Matthew Pava wrote:
If I'm understanding you correctly, you could use a callable in the
list_display definition.
That is what I'm doing. Unfortunately a callable for a list_display
column prevents sorting the list by that column.
I just thought of something. Maybe adj
My requirements are to keep sensitive items out of the repositories and
that means out of settings.
I keep a separate directory structure for settings as recommended in 2
Scoops. That means the code in my project has to detect which site it is
running on (local, staging or production) and then
In addition to all of the reasons Jason posted, a private GitHub repository
does not guarantee you any security of your data.
>From https://help.github.com/articles/github-terms-of-service/ :
"GitHub does not warrant that the Service will meet your requirements; that
the Service will be uninter
Le 2018-01-10 à 17:04, Jason a écrit :
Since my work stuff is on Apache, I use this advice from two scoops of
django.
Etienne, are you really saying you have your AWS and database
credentials, usernames and passwords in your project repositories? /ouch/
I dont save clear-text passwords in
https://www.helpnetsecurity.com/2014/03/24/1-github-users-inadvertently-reveal-their-aws-secret-access-keys/
https://www.theregister.co.uk/2015/01/06/dev_blunder_shows_github_crawling_with_keyslurping_bots/
https://fossbytes.com/hacker-trufflehog-secret-keys-github/
--
You received this mes
Temporal tables are not part of Django, but you could try to manually make
them. Saying that, it appears that are at least a couple of Django packages
that try to make it easier to use them in the ORM.
This one looks decent, but its build is not passing:
https://github.com/arkhipov/temporal_ta
Hi Etienne,
I will thoroughly investigate which is the best approach.
Yingi Kem
> On 10 Jan 2018, at 8:35 PM, Etienne Robillard wrote:
>
> Hi Jason,
>
> I understand your views. But I have trust in Digital Ocean and Github that
> they will not mess with "private" stuff unless they want to e
Hi jason,
Ok so do you suggest moving secret keys to an environment variable because i am
seeing tutorials on that, but its typically on the development stage. In
production level, how will you do that..?
Yingi Kem
> On 10 Jan 2018, at 3:01 PM, Jason wrote:
>
> Etienne, I think this is more
Hi Jason,
I understand your views. But I have trust in Digital Ocean and Github
that they will not mess with "private" stuff unless they want to expose
themselves to lawsuits.
Personally, I don't care using a code repository to save Django-specific
data.
Cheers,
Etienne
Le 2018-01-10 à
Check out
https://docs.djangoproject.com/en/2.0/topics/db/queries/
https://tutorial.djangogirls.org/en/django_orm/
https://opensource.com/article/17/11/django-orm
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
Hey all,
I am lost with this topic.. I am fairly comfortable using Python to
interact with PostgreSQL and generate temporal tables. However, when it
comes to using the Django ORM I am finding it next to impossible to find
links or any examples online ..
Any suggestions where to find some mat
Am Dienstag, 9. Januar 2018 01:08:48 UTC+1 schrieb Mike Morris:
>
> Though it is not a Drupal app, there is an excellent drop box type app in
> PHP called "Download Ticket Service"... simple, no frills, entirely
> cross-platform and open:
>
> http://www.thregr.org/~wavexx/software/dl/
> I have
If I'm understanding you correctly, you could use a callable in the
list_display definition.
https://docs.djangoproject.com/en/2.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display
def lower_case_name(obj):
return ("%s" % str(obj).lower()
lower_case_name.short_description = 'Sub
By chance I saw this in the authenticate() docs:
https://docs.djangoproject.com/en/2.0/topics/auth/default/#django.contrib.auth.authenticate
Changed in Django 1.11: The optional request argument was added.
Maybe this is the reason why DRF did his own auth handling in the past.
Regards,
Thoma
I did not realize that the old app was so large. I think I would take a
different approach to the problem and not the one you are suggesting -
to convert the VBA to python. Django and excel are very different
animals. In my opinion you are trying to mix apples and oranges and
that never work
Etienne, I think this is more related to having secrets outside of your
code repository than actually on the server. Having your AWS and db creds
in your github repo, whether public or private, is a pretty bad thing to do.
--
You received this message because you are subscribed to the Google G
Hi Manjunatha,
Django just serves the content, it doesn't handle how it will be played. It
could be a problem with your player, or some JS error -- in other words,
nothing to do with Django itself.
On Wed, Jan 10, 2018 at 8:03 AM, Manjunatha L Naik
wrote:
> Hii,
>
>
>
> When load video from Dja
Hii,
When load video from Django app, the video seeking(forward and backward) is
not possible with chrome browser. It works fine with IE and Mozilla
Firefox.. Please help me out.
Thanks,
--
You received this message because you are subscribed to the Google Groups
"Django users" group
Oh,
*Thank you Andréas for your kind attention and your reactivity.*
Nice, I didn't know about request.session... And thanks to you, *now I Know*
:-)
Just for archive, I found a way with context_processors here (old django
version, but I adapt to django 2) :
http://apprendre-python.com/page-dja
Hi,
I think this is paranoia. Unless you allow root access to your droplet
without password or pubkey authentication, there's no way anyone can
gain access to your settings.py file.
cheers,
Etienne
Le 2018-01-10 à 06:10, Antonis Christofides a écrit :
Hello,
this is actually a big questi
Hello,
this is an RDBMS question, not a django question, so if you search the web
without including "django" in the search you will probably get the answer. For
example, I'm searching with "difference between varchar and text" and it returns
nice results (most about MySQL, but in PostgreSQL the pr
Hello,
this is actually a big question that is a pain for lots of people. The other
time I held a webinar and I spent some time on this; if you are interested it's
at https://www.crowdcast.io/e/deploying-django, and together with the related
question about different settings in development vs. dep
Hello!!!
I am using django with postgresql..
I am just not getting the difference between varchar and text..
Can someone clear my doubt??
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails fr
Yes, it works without this flag. And I've found the cause -- custom mixins
for TestCase class that performed tricky patching.
On Wednesday, January 10, 2018 at 12:03:44 PM UTC+2, Avraham Serour wrote:
>
> does it work without the parallel flag?
>
> On Wed, Jan 10, 2018 at 10:57 AM, Yevhen Yevhen
does it work without the parallel flag?
On Wed, Jan 10, 2018 at 10:57 AM, Yevhen Yevhen wrote:
> The same traceback from the pastebin link:
>
> Creating test database for alias 'default'...
> Cloning test database for alias 'default'...
> Cloning test database for alias 'default'...
> System che
I am aware that its a bad idea to put your secret keys and other API keys in
your settinggs.py file.
In a production environment like for instance hosting your site in
digitalocean, where will you have to store your secret keys. And how will you
load it in your settings.py file.?
I am a newbi
The same traceback from the pastebin link:
Creating test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
System check identified no issues (0 silenced).
Traceback (most recent call last):
File "manage.py", line 41, in
Hi Micka,
And welcome to django.
Regarding how to add things in middleware - you can add the information to
the session like this:
class SimpleBreadcrumbs(object):
def __init__(self, get_response):
self.get_response = get_response
# One-time configuration and initialization.
38 matches
Mail list logo