Re: Who wants to join us to program an app for the play store that will consist of a nutritionist on the phone

2024-01-19 Thread Srinivasulu Kethanaboina
It's my WhatsApp number sir 8919898388

On Mon, Jan 15, 2024, 7:41 PM KUYESO ROGERS <2019bce...@std.must.ac.ug>
wrote:

> Hello, I am interested, add +256772820840
>
>
>
> Kind regards,
>
> *Kuyeso Rogers | **Bcs. Software Engineering - **Mbarara University of
> Science and Technology*
>
> *Website|| ku-yesu.tech *
>
>
>
> On Thu, Jan 11, 2024 at 10:12 PM Victoria Adebiyi Precious <
> victoriaadebiy...@gmail.com> wrote:
>
>> Good day. Is this opportunity still available?
>> I'm interested. I tried but the number isn't on WhatsApp. If yes, kindly
>> add me to the group. +2347068452733.
>> Thank you very much!
>>
>> On Sat, 30 Dec 2023, 4:12 pm Abdulrahman Abbas, 
>> wrote:
>>
>>> I'm interested your WhatsApp number it's either is incomplete or
>>> incorrect add me to the group +234 9020 3877 75
>>>
>>> On Sat, Dec 30, 2023, 12:36 T Y  wrote:
>>>
 This is the US tailored ?

 On Fri, Dec 29, 2023 at 9:58 PM Jorge Bueno 
 wrote:

> I have thought about these functionalities:Structure of the
> Application for the play store.
> The application will be divided into the following main sections:
>
>
> 1.User Registration:This section will allow users to create accounts
> and provide personal information, such as their name, age, gender, weight,
> height, food preferences and allergies.
>
>
> 2.Medical Data Integration: This section will allow users to upload
> and store relevant medical analyses and results, allowing for a more
> accurate assessment of nutritional needs.
>
>
> Personalized Health Profile: This section will allow users to create
> detailed health profiles that include information on pre-existing medical
> conditions, family history of diseases and other factors affecting diet.
>
>
> Health Goals and Objectives: This section will allow users to set
> specific health goals, such as weight loss, muscle gain, blood pressure
> control, etc.
>
>
> 5.Smart Recommendation Algorithms: This section will implement
> advanced algorithms that will process user information and provide 
> accurate
> and personalized recommendations.
>
>
> 6.Nutritional Database: This section will contain an extensive food
> database with detailed nutritional information, including calories,
> protein, fat, carbohydrates, vitamins and minerals.
>
>
> 7.Diet Tracking: This section will allow users to record daily food
> intake.
>
>
> 8.Integration with Health Devices: This section will allow users to
> connect with health tracking devices to obtain real-time data.
>
>
> 9.Notifications and Reminders: This section will allow users to
> receive notifications and reminders about their diet, health goals and
> other health-related activities.
>
>
> 10.Personalized Nutrition Tips: This section will provide educational
> nutrition information and personalized tips to help users make healthier
> dietary choices.
>
>
> 11.History and Tracking: This section will record the user's diet
> history and health progress.
>
>
> 12.Interaction with Health Professionals: This section will allow
> users to communicate with health professionals, such as nutritionists, for
> personalized advice.
>
>
> Privacy and Security: This section will implement robust privacy and
> security measures to protect the user's information.
>
>
> 14.Recipe Customization: This section will allow users to create
> customized recipes that fit their preferences and dietary restrictions.
>
>
> Continuous Updates: This section will keep the application updated
> with new features, bug fixes and a constantly growing food database.We can
> create a wassap group: My wassap is 641015323
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/61ba02c0-19e4-44d9-be59-6e19bdbbef04n%40googlegroups.com
> 
> .
>
 --
 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAAwLT1kHLbED%3DN5dgVHqHm4jceH2D8WpkoDpO3fw%3DRMUsfGNJQ%40mail.gmail.com
 

next parameter couldn't be passed

2024-01-19 Thread nur syazwani


my authentication view:

class LoginView(auth_views.LoginView):

form_class = LoginForm

template_name = 'event/login.html'

def post(self, request, *args, **kwargs):

next_url = self.request.POST.get('next', reverse('event:create_table'))

response = super().post(request, *args, **kwargs)

redirect_url = reverse('event:login') + f"?next={next_url}"

#ログインできたら、前の画面・ホーム画面に戻る

if self.request.user.is_authenticated:

return redirect(next_url)

else:

return redirect(redirect_url)

return response

class RegisterView(generic.CreateView):

form_class = RegisterForm

template_name = 'event/register.html'

#登録できたら、前の画面・ホーム画面に戻る

def form_invalid(self, form):

messages.error(self.request, '会員登録に失敗しました。正しい情報を入力してください。')

next_url = self.request.POST.get('next', reverse('event:create_table'))

return redirect(next_url)

def get_success_url(self):

messages.success(self.request, '会員登録完了!ログインしてください')

next_url = self.request.POST.get('next', reverse('event:create_table'))

return next_url


my login html:

ログイン




{% csrf_token %}

{{ form.as_p }}






ログイン 



My problem was it didn't redirect to the previous page after login. It 
worked before this but suddenly it didn't. The url included the previous 
url in the next parameter but after submitting the form, it redirect to the 
default event:create_table. Can someone give me any idea why did this 
happen??

i tried changing to request.POST.get('next', reverse('event:create_table')) 
and it kinda seems to work, but previously i use request.POST it didn't 
work so now I am confused. And in my test case, request.POST didnt redirect 
to the correct url but request.GET did so I don't know my django website 
couldn't work properly

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/09fc13dd-e89f-46ee-aa7c-4dcd5b9cb518n%40googlegroups.com.


High level design of Serverless Django app with Zappa

2024-01-19 Thread w h
Hi, I am migrating my manual lambda python serverless backend to the Django 
framework and going to deploy it with Zappa onto AWS lambda.

Please that if anyone knows and can share if this is a good approach and 
any difficulties I may be facing.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e256afee-4eb2-4bc6-9833-001627708a72n%40googlegroups.com.