furious-luke / django-address

A Django address model and field. Addresses may be specified by address components or by performing an automatic Google Maps lookup.
BSD 3-Clause "New" or "Revised" License
430 stars 180 forks source link

How do YOU use django-address? Add Comment Here #115

Open banagale opened 4 years ago

banagale commented 4 years ago

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

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


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.

banagale commented 4 years ago

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.

banagale commented 4 years ago

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.

jplehmann commented 4 years ago

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?

Thanks Rob, you're doing a great job!

Benbb96 commented 4 years ago

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?

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.

jplehmann commented 4 years ago

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.

timjonez commented 4 years ago

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?

banagale commented 4 years ago

Thanks for adding this feedback, @timjonez!

kiraware commented 1 year ago

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?

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