furious-luke/django-address

How do YOU use django-address? Add Comment Here

Opened this issue ยท 8 comments

Please take a moment to share how you use django-address!

Here are some questions you could answer, though any feedback is helpful!

  • What kind of app do you use Django Address in?
  • Which country or countries do you primarily collect addresses in?
  • Do you need to display saved addresses back to users? How do you format them?
  • How long have you been writing code with Django?
  • What does your application do with address information?
  • Have you made customizations to django-address? What are they?
  • Where do you see opportunity to improve django address?

Previously titled, "Outline Common django-address Use Cases"

This ticket is an attempt to understanding understanding the most common use cases for this package. This will help us understand where to focus development effort.

The package example app does not show a complete flow. For example, first saving, then re-displaying formatted information.

@masaruduy reported in #113 a desire to limit auto-suggest to country--a seemingly reasonable request that if included would improve the usefulness of the package.

This ticket proposes first listing common use cases, whether or not the code currently handles them, which should ideally be demonstrated in the example app.

These will form the basis of both identifying gaps in existing functionality and creating a set of features to build to improve the package overall.

I'm pinning this issue. If you have a moment to describe your use case of django-address, please feel free to describe it in this issue.

I'll kick things off with some answers of my own.

What kind of app do you use Django Address in?
The first serious app I used it in was a sales app that I needed to save many different addresses that would be diplayed using pins in google maps.

Which country or countries do you primarily collect addresses in?
I've primarily used django-address to collect US-based addresses.

Do you need to display saved addresses back to users? How do you format them?
Yes, I have had to display them in django templates. I styled them with css and used them in bootstrap.

How long have you been writing code with Django?
I got started with Django around 2015 but have been programming for a long time.

What does your application do with address information?
It uses addresses to display pins on a map and to do calculations for distance between places.

Have you made customizations to django-address? What are they?
At the start I did use a customization but now that I'm maintaining the project that PR has been merged! :)

Where do you see opportunity to improve django address?
I think making the package more approachable to django beginners and intermediate developers would make a big difference. Also, possibly improving the example site.

What kind of app do you use Django Address in?

  • A markeplace where sellers (and buyers) have associated locations

Which country or countries do you primarily collect addresses in?

  • Currently USA, Canada, many European countries, and South Africa, but expanding

Do you need to display saved addresses back to users? How do you format them?

  • Yes: "City, Country". Also we display on a Google Map.

How long have you been writing code with Django?

  • 5+ yrs

What does your application do with address information?

  • Use form field to let sellers specify their location (or by admins within the admin tool)
  • Display the location of each seller in text and on map
  • Organize sellers by regions (groups of of countries)
  • Allow buyers to search items in certain locations - currently by country, but soon by distance to the buyer's location

Have you made customizations to django-address? What are they?

  • We are currently on the old dev branch but have not otherwise modified it except for a patch or two for upgrading Django

Where do you see opportunity to improve django address?

  • An API with fewer levels of location abstraction than what is provided
  • And related to that, ability to only present town/city+ in the autocomplete, we don't want their full address
  • Stability - fix any remaining bugs that I've filed ;)

Thanks Rob, you're doing a great job!

What kind of app do you use Django Address in?
An information system with customers data and several tools. I need the address field for the customer's sites and also for the orders delivery address.

Which country or countries do you primarily collect addresses in?
France essentially but sometime other European countries, or, rarely, international ones.

Do you need to display saved addresses back to users? How do you format them?
Yes, at the moment, it is just a text information, but I might display a map as well.

How long have you been writing code with Django?
3 years.

What does your application do with address information?

  • Search a customer site by address
  • Use the delivery address for shipper's API to send orders

Have you made customizations to django-address? What are they?
I had some little tweaks for the display but it is now merged in.

Where do you see opportunity to improve django address?
I think it's already working well for my use case but maybe it can be optimized in some ways like its architecture.

Updated to the use cases I gave above. Now we will have not only the sellers choosing their location, but also the buyers when they want to do a location-based search for items near them. This will probably ramp up the number of lookups by 10x or more.

What kind of app do you use Django Address in?
A personal project for my portfolio. It's like Upwork, but for volunteer jobs

Which country or countries do you primarily collect addresses in?
United States

Do you need to display saved addresses back to users? How do you format them?
Yes, I have to grab each part of the address in the template

How long have you been writing code with Django?
7 months!

What does your application do with address information?
Just for display at the moment, but may do location based matching in the future.

Have you made customizations to django-address? What are they?
None

Where do you see opportunity to improve django address?
Maybe some custom template filters to display a certain amount of information about the address when displaying it?

Thanks for adding this feedback, @timjonez!

What kind of app do you use Django Address in?
An information system for student data in university

Which country or countries do you primarily collect addresses in?
Asia

Do you need to display saved addresses back to users? How do you format them?
Yes, basically just show the full address to API endpoint which include street, province/state, country and the like separated with comma

How long have you been writing code with Django?
3 months

What does your application do with address information?

  • Where the student origin address (student address before accepted as student at university)
  • Where the student recent address (student address after accepted as student at university)

Have you made customizations to django-address? What are they?
Serializer with django-rest-framework to show model with API endpoint

Where do you see opportunity to improve django address?
Do something like django-phonenumber-field package that has built-in serializer